aboutsummaryrefslogtreecommitdiff
path: root/modules/mpd.nix
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-07-25 13:40:27 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-07-25 13:40:27 -0400
commitf2fb01a55b54dae9a5c26c7e1bae3d17c18de73e (patch)
treec861617d8ff6f5fdf188b1f7dd5774c1d17a3cd5 /modules/mpd.nix
parent8a0457f14d000b4aae8bbd4e950654802f01c584 (diff)
downloadhome-f2fb01a55b54dae9a5c26c7e1bae3d17c18de73e.tar.gz
repo: format tree
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;
};
}