diff --git a/examples/devos/modules/hm-system-defaults.nix b/examples/devos/modules/hm-system-defaults.nix index 09afddc..1066d7c 100644 --- a/examples/devos/modules/hm-system-defaults.nix +++ b/examples/devos/modules/hm-system-defaults.nix @@ -10,5 +10,8 @@ xdg.configFile."nix/registry.json".text = config.environment.etc."nix/registry.json".text; } + { + home.stateVersion = "22.11"; + } ]; } diff --git a/examples/groupByConfig/home/default.nix b/examples/groupByConfig/home/default.nix index 1b4c3c9..da44e19 100644 --- a/examples/groupByConfig/home/default.nix +++ b/examples/groupByConfig/home/default.nix @@ -4,4 +4,5 @@ let in { imports = [ (lib.importExportableModules ./modules) ]; + home.stateVersion = "22.05"; } diff --git a/examples/hmOnly/home/default.nix b/examples/hmOnly/home/default.nix index dca6c35..3928a82 100644 --- a/examples/hmOnly/home/default.nix +++ b/examples/hmOnly/home/default.nix @@ -12,4 +12,5 @@ in }; }; users = lib.rakeLeaves ./users; + home.stateVersion = "22.05"; } diff --git a/src/mkFlake/outputs-builder.nix b/src/mkFlake/outputs-builder.nix index 107f5e6..b90a633 100644 --- a/src/mkFlake/outputs-builder.nix +++ b/src/mkFlake/outputs-builder.nix @@ -26,7 +26,6 @@ let { home = { inherit username homeDirectory; - stateVersion = "22.05"; }; } ] ++ config.home.exportedModules