Commit 97c19d5

HPCesia <me@hpcesia.com>
2025-12-09 12:25:40
refactor: host specific state version
1 parent f8c7cd9
Changed files (2)
modules
modules/core/state-version.nix → modules/hosts/kevin/state-version.nix
@@ -2,7 +2,7 @@
   flake.modules = let
     stateVersion = "25.11";
   in {
-    nixos.core = _: {
+    nixos."hosts/kevin" = _: {
       # DO NOT FIDDLE WITH THIS VALUE !!!
       # This value determines the NixOS release from which the default
       # settings for stateful data, like file locations and database versions
@@ -14,7 +14,7 @@
       system.stateVersion = stateVersion; # Did you read the comment?
     };
 
-    homeManager.core = _: {
+    homeManager."hosts/kevin" = _: {
       # This value determines the Home Manager release that your
       # configuration is compatible with. This helps avoid breakage
       # when a new Home Manager release introduces backwards
modules/hosts/pardofelis/state-version.nix
@@ -0,0 +1,17 @@
+{
+  flake.modules = let
+    stateVersion = "25.11";
+  in {
+    nixos."hosts/pardofelis" = _: {
+      # DO NOT FIDDLE WITH THIS VALUE !!!
+      # This value determines the NixOS release from which the default
+      # settings for stateful data, like file locations and database versions
+      # on your system were taken.
+      # Before changing this value (which you shouldn't do unless you have
+      # REALLY NECESSARY reason to do this) read the documentation for this option
+      # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html)
+      # and release notes, SERIOUSLY.
+      system.stateVersion = stateVersion; # Did you read the comment?
+    };
+  };
+}