diff --git a/nix-darwin/default.nix b/nix-darwin/default.nix index 24f042a7f..4b226d443 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 62dcfc525..bb0e534ab 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: