diff --git a/src/main.nix b/src/main.nix index 7928b8c..d657e43 100644 --- a/src/main.nix +++ b/src/main.nix @@ -94,7 +94,7 @@ in { }; environment.defaultPackages = []; - system.stateVersion = "22.11"; + system.stateVersion = VARIABLES.stateVersion; # home-manager home-manager = { @@ -103,7 +103,7 @@ in { sharedModules = [ { - home.stateVersion = "22.11"; + home.stateVersion = VARIABLES.stateVersion; editorconfig = { enable = true; diff --git a/src/variables.nix b/src/variables.nix index d82095b..0cec834 100644 --- a/src/variables.nix +++ b/src/variables.nix @@ -3,4 +3,5 @@ system = "x86_64-linux"; timezone = "America/New_York"; hostHardwareConfiguration = ../hosts/laptop.nix; + stateVersion = "22.11"; }