diff options
Diffstat (limited to 'upgrade_nixos')
-rwxr-xr-x | upgrade_nixos | 6 |
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 |