aboutsummaryrefslogtreecommitdiff
path: root/upgrade_nixos
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade_nixos')
-rwxr-xr-xupgrade_nixos2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade_nixos b/upgrade_nixos
index df3d259..dcfeb5f 100755
--- a/upgrade_nixos
+++ b/upgrade_nixos
@@ -1,6 +1,6 @@
#!/usr/bin/env ./sshtool
-if [ "$CLUSTER" = "staging" ]; then
+if [ "$CLUSTER" = "staging" -o "$NIXHOST" = "concombre" -o "$NIXHOST" = "courgette" -o "$NIXHOST" = "celeri" ]; 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