diff options
author | Alex Auvolat <alex@adnab.me> | 2023-03-13 19:58:37 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-03-13 19:58:37 +0100 |
commit | 385882c74c80156b2740ac3bad009605468b4372 (patch) | |
tree | 3b503dcf8ad8d30d396abef9a1b5cca5218a7975 /upgrade_nixos | |
parent | d56f895a1c0e98b76f80652d85fcec51ef42f775 (diff) | |
download | nixcfg-385882c74c80156b2740ac3bad009605468b4372.tar.gz nixcfg-385882c74c80156b2740ac3bad009605468b4372.zip |
Changes in prod:
- migrate courgette and concombre to M710q machines with SSD+HDD
- migrate prod/c* to nixos 22.11
Diffstat (limited to 'upgrade_nixos')
-rwxr-xr-x | upgrade_nixos | 2 |
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 |