diff --git a/modules/darwin/user/default.nix b/modules/darwin/user/default.nix index a0303d6..dd9daa0 100644 --- a/modules/darwin/user/default.nix +++ b/modules/darwin/user/default.nix @@ -82,7 +82,7 @@ in { config = { submoduleSupport.enable = true; - submoduleSupport.externalPackageInstall = cfg.useUserPackages; + submoduleSupport.externalPackageInstall = config.home-manager.useUserPackages; home.username = config.users.users.${name}.name; home.homeDirectory = config.users.users.${name}.home; diff --git a/modules/nixos/user/default.nix b/modules/nixos/user/default.nix index b19d155..bfb8863 100644 --- a/modules/nixos/user/default.nix +++ b/modules/nixos/user/default.nix @@ -100,7 +100,7 @@ in { config = { submoduleSupport.enable = true; - submoduleSupport.externalPackageInstall = cfg.useUserPackages; + submoduleSupport.externalPackageInstall = config.home-manager.useUserPackages; home.username = config.users.users.${name}.name; home.homeDirectory = config.users.users.${name}.home;