diff options
author | Freya Murphy <freya@freyacat.org> | 2025-07-07 23:16:53 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-07-07 23:16:53 -0400 |
commit | c3ca6e711ed57b1de511da82effaabead0f5a63f (patch) | |
tree | e2733ec1e09727c148625003eba7bce9c1e21c72 | |
parent | update commits (diff) | |
download | dotfiles-nix-c3ca6e711ed57b1de511da82effaabead0f5a63f.tar.gz dotfiles-nix-c3ca6e711ed57b1de511da82effaabead0f5a63f.tar.bz2 dotfiles-nix-c3ca6e711ed57b1de511da82effaabead0f5a63f.zip |
update state version
-rw-r--r-- | modules/options.nix | 12 | ||||
-rw-r--r-- | options.nix | 2 |
2 files changed, 9 insertions, 5 deletions
diff --git a/modules/options.nix b/modules/options.nix index 4c083ca..1b120be 100644 --- a/modules/options.nix +++ b/modules/options.nix @@ -191,8 +191,6 @@ with lib; let }; }; }; - - stateVersion = "25.05"; in { options = { # @@ -207,6 +205,10 @@ in { description = "System time zone"; default = "America/New_York"; }; + stateVersion = mkOption { + type = types.str; + description = "NixOS State Version"; + }; # # System modules @@ -397,8 +399,8 @@ in { nixpkgs.config.allowUnfree = true; # set state version - home-manager.users.${config.user}.home.stateVersion = stateVersion; - home-manager.users.root.home.stateVersion = stateVersion; - system.stateVersion = stateVersion; + home-manager.users.${config.user}.home.stateVersion = config.stateVersion; + home-manager.users.root.home.stateVersion = config.stateVersion; + system.stateVersion = config.stateVersion; }; } diff --git a/options.nix b/options.nix index a015b26..73b5193 100644 --- a/options.nix +++ b/options.nix @@ -35,4 +35,6 @@ "discord --enable-features=UseOzonePlatform --ozone-platform=wayland" "element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland" ]; + + stateVersion = "25.11"; } |