diff options
Diffstat (limited to 'modules/private/mpd.nix')
-rw-r--r-- | modules/private/mpd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/mpd.nix b/modules/private/mpd.nix index 1e6e666..f2e87bb 100644 --- a/modules/private/mpd.nix +++ b/modules/private/mpd.nix | |||
@@ -26,7 +26,7 @@ | |||
26 | systemd.services.mpd.serviceConfig.RuntimeDirectory = "mpd"; | 26 | systemd.services.mpd.serviceConfig.RuntimeDirectory = "mpd"; |
27 | services.filesWatcher.mpd = { | 27 | services.filesWatcher.mpd = { |
28 | restart = true; | 28 | restart = true; |
29 | paths = [ "/var/secrets/mpd-config" ]; | 29 | paths = [ config.secrets.fullPaths."mpd-config" ]; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | services.mpd = { | 32 | services.mpd = { |
@@ -34,7 +34,7 @@ | |||
34 | network.listenAddress = "any"; | 34 | network.listenAddress = "any"; |
35 | musicDirectory = config.myEnv.mpd.folder; | 35 | musicDirectory = config.myEnv.mpd.folder; |
36 | extraConfig = '' | 36 | extraConfig = '' |
37 | include "/var/secrets/mpd-config" | 37 | include "${config.secrets.fullPaths."mpd-config"}" |
38 | audio_output { | 38 | audio_output { |
39 | type "null" | 39 | type "null" |
40 | name "No Output" | 40 | name "No Output" |