feat: adds mpdris2 to packages since that is required for mpd apparently

This commit is contained in:
Ahwx 2025-07-06 01:35:03 +02:00
parent 12039dfbc0
commit 21924df69c

View file

@ -1,4 +1,9 @@
{ username, config, ... }: {
username,
config,
pkgs,
...
}:
{ {
services.mpd = { services.mpd = {
enable = true; enable = true;
@ -19,4 +24,8 @@
# see: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609 # 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. 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
];
} }