diff options
author | Freya Murphy <freya@freyacat.org> | 2025-01-23 14:56:07 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-01-23 14:56:07 -0500 |
commit | 7a8372ffb664bc0261d01b6d4344ae2e26fc4a4d (patch) | |
tree | 55dedbf2843d60200cb5f0acbcf43173cfa5edcf /nix/default.nix | |
parent | add file (diff) | |
download | dotfiles-nix-7a8372ffb664bc0261d01b6d4344ae2e26fc4a4d.tar.gz dotfiles-nix-7a8372ffb664bc0261d01b6d4344ae2e26fc4a4d.tar.bz2 dotfiles-nix-7a8372ffb664bc0261d01b6d4344ae2e26fc4a4d.zip |
global state version
Diffstat (limited to 'nix/default.nix')
-rw-r--r-- | nix/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nix/default.nix b/nix/default.nix index d9c06e0..3cda7fe 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -128,6 +128,8 @@ let }; }; + stateVersion = "25.05"; + in { @@ -312,9 +314,9 @@ in nixpkgs.config.allowUnfree = true; # set state version - home-manager.users.${config.user}.home.stateVersion = "25.05"; - home-manager.users.root.home.stateVersion = "25.05"; - system.stateVersion = "25.05"; + home-manager.users.${config.user}.home.stateVersion = stateVersion; + home-manager.users.root.home.stateVersion = stateVersion; + system.stateVersion = stateVersion; }; } |