refactor
This commit is contained in:
parent
1206380efd
commit
7203fc1ed9
51 changed files with 175 additions and 108 deletions
25
home-manager/sajenim/features/desktop/mpd/default.nix
Normal file
25
home-manager/sajenim/features/desktop/mpd/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{pkgs, ...}: {
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "nfs://viridian.kanto.dev/srv/multimedia/library/music";
|
||||
dbFile = null;
|
||||
extraConfig = ''
|
||||
database {
|
||||
plugin "proxy"
|
||||
host "viridian.kanto.dev"
|
||||
port "6600"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "PulseAudio"
|
||||
server "127.0.0.1" # MPD must connect to the local sound server
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
services.mpd-discord-rpc = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.mpd-discord-rpc;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue