upgrade nixos

This commit is contained in:
Adrien 2023-03-15 17:49:46 +01:00
parent 2a0eff07c0
commit 1a2ff3f6b9

View file

@ -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