aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien <adrien@luxeylab.net>2023-03-15 17:49:46 +0100
committerAdrien <adrien@luxeylab.net>2023-03-15 17:50:06 +0100
commit1a2ff3f6b943da9b5fc9867d8d18eb38c24282ac (patch)
tree3966a66e1967c9316397eb466ec4e5f52aac08e2
parent2a0eff07c0f50488e2959675ab467786e09807fe (diff)
downloadnixcfg-1a2ff3f6b943da9b5fc9867d8d18eb38c24282ac.tar.gz
nixcfg-1a2ff3f6b943da9b5fc9867d8d18eb38c24282ac.zip
upgrade nixos
-rwxr-xr-xupgrade_nixos6
1 files changed, 1 insertions, 5 deletions
diff --git a/upgrade_nixos b/upgrade_nixos
index e04cfe0..69c780e 100755
--- a/upgrade_nixos
+++ b/upgrade_nixos
@@ -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