From 6231ee4443dbb35e54fa7b21f31d8f996adca3bb Mon Sep 17 00:00:00 2001 From: michaelBelsanti Date: Sun, 5 Jan 2025 14:56:01 -0500 Subject: [PATCH] fix: replace cfg.useUserPackages with home-manager.useUserPackages --- modules/darwin/user/default.nix | 2 +- modules/nixos/user/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;