Migrate to AwesomeWM + refactor
This commit is contained in:
parent
fbf69b086a
commit
bb8ffbc999
20 changed files with 613 additions and 31 deletions
27
home-manager/sajenim/features/desktop/mpd.nix
Normal file
27
home-manager/sajenim/features/desktop/mpd.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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