actually fix mpd
This commit is contained in:
parent
3460b249ac
commit
dcf6bb18c7
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
audio_output {
|
audio_output {
|
||||||
type "pipewire"
|
type "pipewire"
|
||||||
name "My PipeWire Output"
|
name "My PipeWire Output"
|
||||||
server "127.0.0.1"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -171,6 +171,7 @@
|
||||||
|
|
||||||
# TODO(sako):: replace this with mopidy for jellyifn support
|
# TODO(sako):: replace this with mopidy for jellyifn support
|
||||||
services.mpd = {
|
services.mpd = {
|
||||||
|
# pipewire fix
|
||||||
user = "sako";
|
user = "sako";
|
||||||
enable = true;
|
enable = true;
|
||||||
musicDirectory = "/home/sako/music";
|
musicDirectory = "/home/sako/music";
|
||||||
|
@ -178,6 +179,11 @@
|
||||||
startWhenNeeded = true;
|
startWhenNeeded = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# mpd fix
|
||||||
|
systemd.services.mpd.environment = {
|
||||||
|
XDG_RUNTIME_DIR = "/run/user/1000";
|
||||||
|
};
|
||||||
|
|
||||||
# garbage collection
|
# garbage collection
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
|
Loading…
Reference in a new issue