Don't use nix-channels

This commit is contained in:
Charlotte Van Petegem 2020-07-08 16:42:03 +02:00
parent 32ba100ee4
commit 280fdeeab0
17 changed files with 229 additions and 82 deletions

9
update.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
set -x
./update-imports.sh
result="$(./build.sh "./machines/$(hostname)")"
sudo bash -c "nix-env --set --profile /nix/var/nix/profiles/system/ ${result} && ${result}/bin/switch-to-configuration switch"