genepi: remove mpd
This commit is contained in:
parent
3a2dd0cc0b
commit
d2c624fe9c
2 changed files with 0 additions and 28 deletions
|
|
@ -12,7 +12,6 @@
|
|||
./homeassistant.nix
|
||||
./immich.nix
|
||||
./monitoring
|
||||
./mpd.nix
|
||||
./network.nix
|
||||
./nginx.nix
|
||||
./pinchflat.nix
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/rpqt/Media/Music";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "Pulse Audio"
|
||||
}
|
||||
'';
|
||||
|
||||
network.listenAddress = "any";
|
||||
};
|
||||
|
||||
services.pulseaudio.enable = true;
|
||||
|
||||
# Workaround: run PulseAudio system-wide so that the mpd user can access it
|
||||
services.pulseaudio.systemWide = true;
|
||||
|
||||
# Fixes the stutter when changing volume (found this randomly)
|
||||
services.pulseaudio.daemon.config.flat-volumes = "no";
|
||||
|
||||
users.users.${config.services.mpd.user}.extraGroups = [ "pulse-access" ];
|
||||
|
||||
users.users.rpqt.homeMode = "755";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue