nixpkgs-suyu/upgrade.sh

5 lines
190 B
Bash
Raw Normal View History

#! /bin/sh
set -e
nix-env -p /nix/var/nix/profiles/system -f configuration/system-configuration.nix -i -A systemConfiguration
/nix/var/nix/profiles/system/bin/switch-to-configuration switch