From 5bf42756529ce32c81b5ab9477977e2eff963175 Mon Sep 17 00:00:00 2001 From: notohh <github@notohh.dev> Date: Sat, 22 Mar 2025 22:11:23 -0400 Subject: [PATCH] hosts: make state version per host --- hosts/arashi/default.nix | 4 ++++ hosts/common/system.nix | 5 ----- hosts/haru/default.nix | 4 ++++ hosts/kariru/default.nix | 4 ++++ hosts/sakura/default.nix | 4 ++++ hosts/sora/default.nix | 4 ++++ hosts/tsuki/default.nix | 5 +++++ hosts/tsuru/default.nix | 4 ++++ hosts/yuki/default.nix | 4 ++++ 9 files changed, 33 insertions(+), 5 deletions(-) diff --git a/hosts/arashi/default.nix b/hosts/arashi/default.nix index 8afd6f4..389f80f 100644 --- a/hosts/arashi/default.nix +++ b/hosts/arashi/default.nix @@ -15,4 +15,8 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo" ]; }; + system = { + autoUpgrade.enable = false; + stateVersion = "23.05"; + }; } diff --git a/hosts/common/system.nix b/hosts/common/system.nix index 0176899..246729d 100644 --- a/hosts/common/system.nix +++ b/hosts/common/system.nix @@ -40,9 +40,4 @@ DefaultTimeoutStopSec=5s ''; }; - - system = { - autoUpgrade.enable = false; - stateVersion = "23.05"; # no touchy - }; } diff --git a/hosts/haru/default.nix b/hosts/haru/default.nix index e278a60..6840093 100644 --- a/hosts/haru/default.nix +++ b/hosts/haru/default.nix @@ -15,4 +15,8 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo" ]; }; + system = { + autoUpgrade.enable = false; + stateVersion = "23.05"; + }; } diff --git a/hosts/kariru/default.nix b/hosts/kariru/default.nix index 0ee01a2..0ae3fe5 100644 --- a/hosts/kariru/default.nix +++ b/hosts/kariru/default.nix @@ -15,4 +15,8 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo" ]; }; + system = { + autoUpgrade.enable = false; + stateVersion = "23.05"; + }; } diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 80b5d03..9209eeb 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -15,4 +15,8 @@ _: { "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo" ]; }; + system = { + autoUpgrade.enable = false; + stateVersion = "23.05"; + }; } diff --git a/hosts/sora/default.nix b/hosts/sora/default.nix index 6d7d729..bddbd0e 100644 --- a/hosts/sora/default.nix +++ b/hosts/sora/default.nix @@ -17,4 +17,8 @@ _: { "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo" ]; }; + system = { + autoUpgrade.enable = false; + stateVersion = "23.05"; + }; } diff --git a/hosts/tsuki/default.nix b/hosts/tsuki/default.nix index c91daf8..06c4a16 100755 --- a/hosts/tsuki/default.nix +++ b/hosts/tsuki/default.nix @@ -97,4 +97,9 @@ zulu zulu17 ]; + + system = { + autoUpgrade.enable = false; + stateVersion = "23.05"; + }; } diff --git a/hosts/tsuru/default.nix b/hosts/tsuru/default.nix index 7cde069..b8c8bbf 100644 --- a/hosts/tsuru/default.nix +++ b/hosts/tsuru/default.nix @@ -15,4 +15,8 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo" ]; }; + system = { + autoUpgrade.enable = false; + stateVersion = "23.05"; + }; } diff --git a/hosts/yuki/default.nix b/hosts/yuki/default.nix index 529e6eb..5970eae 100644 --- a/hosts/yuki/default.nix +++ b/hosts/yuki/default.nix @@ -15,4 +15,8 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo" ]; }; + system = { + autoUpgrade.enable = false; + stateVersion = "23.05"; + }; }