diff options
author | Adrien <adrien@luxeylab.net> | 2023-03-15 17:49:46 +0100 |
---|---|---|
committer | Adrien <adrien@luxeylab.net> | 2023-03-15 17:50:06 +0100 |
commit | 1a2ff3f6b943da9b5fc9867d8d18eb38c24282ac (patch) | |
tree | 3966a66e1967c9316397eb466ec4e5f52aac08e2 /upgrade_nixos | |
parent | 2a0eff07c0f50488e2959675ab467786e09807fe (diff) | |
download | nixcfg-1a2ff3f6b943da9b5fc9867d8d18eb38c24282ac.tar.gz nixcfg-1a2ff3f6b943da9b5fc9867d8d18eb38c24282ac.zip |
upgrade nixos
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 |