From 6c12a71ecb8234bf4bf933bccc8f368cf31aa3f9 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 13 Jun 2023 11:56:10 +0200 Subject: Deploy nixos 23.05 on staging and other staging fixes --- upgrade_nixos | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'upgrade_nixos') diff --git a/upgrade_nixos b/upgrade_nixos index 69c780e..403e64e 100755 --- a/upgrade_nixos +++ b/upgrade_nixos @@ -1,6 +1,10 @@ #!/usr/bin/env ./sshtool -cmd nix-channel --add https://nixos.org/channels/nixos-22.11 nixos +if [ "$CLUSTER" = "staging" ]; then + cmd nix-channel --add https://nixos.org/channels/nixos-23.05 nixos +else + cmd nix-channel --add https://nixos.org/channels/nixos-22.11 nixos +fi cmd nix-channel --update cmd nixos-rebuild boot -- cgit v1.2.3