diff --git a/flake.nix b/flake.nix index b514a07..ea607c2 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,7 @@ nixosModule = { config, optionName }: systemConfig: { config = lib.mkIf (attrByStrPath optionName config) (mkIfElse (config.features.nixos.home-manager.enable) { - home-manager.users.${config.info.userName}.${optionName} = lib.mkDefault true; + home-manager.users.${config.info.userName} = setAttrByStrPath optionName (lib.mkDefault true); } systemConfig); };