fix: music working

This commit is contained in:
2026-01-21 07:59:38 -05:00
parent 2adf1b010b
commit 5eb2d1c3e2
8 changed files with 37 additions and 33 deletions

View File

@@ -1,27 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
mpc
ncmpcpp
];
services.mpd = {
enable = true;
musicDirectory = "/home/max/media/music";
user = "max";
extraConfig = ''
audio_output {
type "pipewire"
name "Pipewire Ouput"
}
'';
};
systemd = {
services = {
mpd.environment = {
XDG_RUNTIME_DIR = "/run/user/1001";
};
};
};
}