From 1a2ff3f6b943da9b5fc9867d8d18eb38c24282ac Mon Sep 17 00:00:00 2001 From: Adrien Date: Wed, 15 Mar 2023 17:49:46 +0100 Subject: upgrade nixos --- upgrade_nixos | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3