aboutsummaryrefslogtreecommitdiff
path: root/modules/mpd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mpd.nix')
-rw-r--r--modules/mpd.nix19
1 files changed, 12 insertions, 7 deletions
diff --git a/modules/mpd.nix b/modules/mpd.nix
index 3c1d742..1be4804 100644
--- a/modules/mpd.nix
+++ b/modules/mpd.nix
@@ -1,4 +1,9 @@
-{ config, lib, pkgs, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
let
cfg = config.modules.mpd;
scheme = config.modules.scheme;
@@ -11,15 +16,15 @@ in
config = lib.mkIf cfg.enable {
services.mpd = {
enable = true;
- extraConfig =
- ''
- audio_output {
- type "pipewire"
- name "My PipeWire Output"
- }
+ extraConfig = ''
+ audio_output {
+ type "pipewire"
+ name "My PipeWire Output"
+ }
'';
musicDirectory = "~/music";
};
services.mpd-discord-rpc.enable = true;
+ services.mpdscribble.enable = true;
};
}