From 21924df69c6d857870c8ab2acde136312323ed35 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sun, 6 Jul 2025 01:35:03 +0200 Subject: [PATCH] feat: adds mpdris2 to packages since that is required for mpd apparently --- modules/services/mpd.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index 18bd767..ff543d5 100644 --- a/modules/services/mpd.nix +++ b/modules/services/mpd.nix @@ -1,4 +1,9 @@ -{ username, config, ... }: +{ + username, + config, + pkgs, + ... +}: { services.mpd = { enable = true; @@ -19,4 +24,8 @@ # see: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609 XDG_RUNTIME_DIR = "/run/user/${toString config.users.users.userRunningPipeWire.uid}"; # User-id must match above user. MPD will look inside this directory for the PipeWire socket. }; + + home.packages = with pkgs; [ + mpdris2 + ]; }