From 1efd89b85da2aa707b08d38479f70139c755ceb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 14 May 2023 20:41:32 +0200 Subject: [PATCH] set stateVersion for all systems --- targets/nixos-wiki.thalheim.io/configuration.nix | 3 ++- targets/staging.nixos-wiki.thalheim.io/configuration.nix | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/targets/nixos-wiki.thalheim.io/configuration.nix b/targets/nixos-wiki.thalheim.io/configuration.nix index 5657f2a..d9de2fe 100644 --- a/targets/nixos-wiki.thalheim.io/configuration.nix +++ b/targets/nixos-wiki.thalheim.io/configuration.nix @@ -5,5 +5,6 @@ in { self.nixosModules.nixos-wiki self.nixosModules.hcloud ]; - config.users.users.root.openssh.authorizedKeys.keys = nixosVars.ssh_keys; + users.users.root.openssh.authorizedKeys.keys = nixosVars.ssh_keys; + system.stateVersion = "23.05"; } diff --git a/targets/staging.nixos-wiki.thalheim.io/configuration.nix b/targets/staging.nixos-wiki.thalheim.io/configuration.nix index 5657f2a..d9de2fe 100644 --- a/targets/staging.nixos-wiki.thalheim.io/configuration.nix +++ b/targets/staging.nixos-wiki.thalheim.io/configuration.nix @@ -5,5 +5,6 @@ in { self.nixosModules.nixos-wiki self.nixosModules.hcloud ]; - config.users.users.root.openssh.authorizedKeys.keys = nixosVars.ssh_keys; + users.users.root.openssh.authorizedKeys.keys = nixosVars.ssh_keys; + system.stateVersion = "23.05"; }