summaryrefslogtreecommitdiffstats
path: root/modules/desktop/apps/mpd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/apps/mpd.nix')
-rw-r--r--modules/desktop/apps/mpd.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/desktop/apps/mpd.nix b/modules/desktop/apps/mpd.nix
index 3ec86e4..f6f9ff3 100644
--- a/modules/desktop/apps/mpd.nix
+++ b/modules/desktop/apps/mpd.nix
@@ -23,12 +23,14 @@ in
services.mpd = {
enable = true;
musicDirectory = "/home/jon/mus";
- extraConfig = ''
-audio_output {
- type "pipewire"
- name "Pipewire Output"
-}
- '';
+ settings = {
+ audio_output = [
+ {
+ type = "pipewire";
+ name = "Pipewire";
+ }
+ ];
+ };
user = "jon";
};
systemd.services.mpd.environment = {