Commit d1bf76b
Changed files (4)
home
base
hosts
chaser-kevin
chaser-pardofelis
modules
core
home/base/home.nix
@@ -3,15 +3,5 @@
# paths it should manage.
home = {
inherit (myvars) username;
-
- # 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
- # incompatible changes.
- #
- # You can update Home Manager without changing this value. See
- # the Home Manager release notes for a list of state version
- # changes in each release.
- stateVersion = "25.05";
};
}
hosts/chaser-kevin/default.nix
@@ -24,12 +24,4 @@ in {
];
modules.currentHost = hostName;
-
- # 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. It‘s perfectly fine and recommended to leave
- # this value at the release version of the first install of this system.
- # Before changing this value read the documentation for this option
- # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system.stateVersion = "25.05"; # Did you read the comment?
}
hosts/chaser-pardofelis/default.nix
@@ -20,12 +20,4 @@ in {
];
modules.currentHost = hostName;
-
- # 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. It‘s perfectly fine and recommended to leave
- # this value at the release version of the first install of this system.
- # Before changing this value read the documentation for this option
- # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system.stateVersion = "25.05"; # Did you read the comment?
}
modules/core/state-version.nix
@@ -0,0 +1,29 @@
+{
+ flake.modules = let
+ stateVersion = "25.05";
+ in {
+ nixos.core = _: {
+ # 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?
+ };
+
+ homeManager.core = _: {
+ # 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
+ # incompatible changes.
+ #
+ # You can update Home Manager without changing this value. See
+ # the Home Manager release notes for a list of state version
+ # changes in each release.
+ home.stateVersion = stateVersion;
+ };
+ };
+}