diff --git a/nix-darwin/default.nix b/nix-darwin/default.nix index 24f042a7..4b226d44 100644 --- a/nix-darwin/default.nix +++ b/nix-darwin/default.nix @@ -68,7 +68,7 @@ in users.users = mkIf cfg.useUserPackages ( mapAttrs (username: usercfg: { - packages = usercfg.home.packages; + packages = [ usercfg.home.path ]; }) cfg.users ); diff --git a/nixos/default.nix b/nixos/default.nix index 62dcfc52..bb0e534a 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -85,7 +85,7 @@ in { }))); users.users = mkIf cfg.useUserPackages - (mapAttrs (username: usercfg: { packages = usercfg.home.packages; }) + (mapAttrs (username: usercfg: { packages = [ usercfg.home.path ]; }) cfg.users); systemd.services = mapAttrs' (_: usercfg: