From 276d84875219bb6a4b3f2e071192d2e85cab14ca Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Wed, 7 Feb 2024 02:09:45 +0100 Subject: fixup --- profiles/core/hm.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'profiles/core/hm.nix') 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"; -- cgit v1.2.3