forked from Deuxfleurs/nixcfg
upgrade nixos
This commit is contained in:
parent
2a0eff07c0
commit
1a2ff3f6b9
1 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
#!/usr/bin/env ./sshtool
|
||||
|
||||
if [ "$CLUSTER" = "staging" -o "$NIXHOST" = "concombre" -o "$NIXHOST" = "courgette" -o "$NIXHOST" = "celeri" -o "$NIXHOST" = "abricot" -o "$NIXHOST" = "df-ymk" -o "$NIXHOST" = "df-ymf" -o "$NIXHOST" = "df-ykl" ]; then
|
||||
cmd nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
|
||||
else
|
||||
cmd nix-channel --add https://nixos.org/channels/nixos-22.05 nixos
|
||||
fi
|
||||
cmd nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
|
||||
|
||||
cmd nix-channel --update
|
||||
cmd nixos-rebuild boot
|
||||
|
|
Loading…
Reference in a new issue