add mpd and ncmpcpp

This commit is contained in:
Sakooooo 2023-07-04 14:25:02 +03:00
parent f2ccf99e56
commit 9c1f9244db
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 13 additions and 0 deletions

4
config/mpd/mpd.conf Normal file
View file

@ -0,0 +1,4 @@
audio_output {
type "pipewire"
name "My PipeWire Output"
}

View file

@ -166,9 +166,18 @@
nodejs nodejs
yarn yarn
newsboat newsboat
ncmpcpp
]; ];
}; };
# TODO(sako):: replace this with mopidy for jellyifn support
services.mpd = {
enable = true;
musicDirectory = "/home/sako/music";
extraConfig = builtins.readFile config/mpd/mpd.conf;
startWhenNeeded = true;
};
# garbage collection # garbage collection
nix.gc = { nix.gc = {
automatic = true; automatic = true;