Don't use nix-channels
This commit is contained in:
parent
32ba100ee4
commit
280fdeeab0
17 changed files with 229 additions and 82 deletions
9
update.sh
Executable file
9
update.sh
Executable 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"
|
Loading…
Add table
Add a link
Reference in a new issue