diff options
| author | Mike Vink <ivi@vinkies.net> | 2024-02-07 02:09:45 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2024-02-07 02:09:45 +0100 |
| commit | 276d84875219bb6a4b3f2e071192d2e85cab14ca (patch) | |
| tree | 71b919e6fa4a7ae8b356b40503ff63f268af2ca6 /profiles/core/hm.nix | |
| parent | 7c460caa6168fa95d526302d9186b9ffbd64d39c (diff) | |
fixup
Diffstat (limited to 'profiles/core/hm.nix')
| -rw-r--r-- | profiles/core/hm.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/profiles/core/hm.nix b/profiles/core/hm.nix index 9e5174d..76dd2e6 100644 --- a/profiles/core/hm.nix +++ b/profiles/core/hm.nix @@ -1,6 +1,5 @@ -{inputs, config, lib, ...}: with lib; { +{inputs, lib, pkgs, ...}: with lib; { imports = [ - inputs.home-manager.darwinModules.default (mkAliasOptionModule [ "hm" ] [ "home-manager" "users" ivi.username ]) ]; @@ -12,7 +11,7 @@ }; hm = { - home.stateVersion = "24.05"; + home.stateVersion = if pkgs.stdenv.isDarwin then "24.05" else config.system.stateVersion; home.enableNixpkgsReleaseCheck = false; systemd.user.startServices = "sd-switch"; |
