add mpd and ncmpcpp
This commit is contained in:
parent
f2ccf99e56
commit
9c1f9244db
2 changed files with 13 additions and 0 deletions
4
config/mpd/mpd.conf
Normal file
4
config/mpd/mpd.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
audio_output {
|
||||
type "pipewire"
|
||||
name "My PipeWire Output"
|
||||
}
|
|
@ -166,9 +166,18 @@
|
|||
nodejs
|
||||
yarn
|
||||
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
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
|
|
Loading…
Reference in a new issue