diff --git a/home-manager/meta/default.nix b/home-manager/meta/default.nix index a30aeeee..2efbcab4 100644 --- a/home-manager/meta/default.nix +++ b/home-manager/meta/default.nix @@ -13,8 +13,6 @@ # Add some Nix related packages home.packages = with pkgs; [ - # Necessary for NixOS, but causes conflicts in Home-Manager standalone - (lib.lowPrio home-manager) nix-cleanup nix-update nix-whereis diff --git a/nixos/home.nix b/nixos/home.nix index 97bcabe8..0ea21a05 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -24,6 +24,10 @@ in }; config = lib.mkIf cfg.enable { + # Home-Manager standalone already adds home-manager to PATH, so we + # are adding here only for NixOS + environment.systemPackages = with pkgs; [ home-manager ]; + home-manager = { useUserPackages = true; users.${cfg.username} = {