diff options
author | third3ye <tredje0ye@gmail.com> | 2014-06-17 03:24:39 +0000 |
---|---|---|
committer | third3ye <tredje0ye@gmail.com> | 2014-06-17 03:24:39 +0000 |
commit | 9c83a6bc766013d6e9929a670d385385e878f91a (patch) | |
tree | 3fcec5141afdd59dfeddd1f645bfc24744f33bbd /nixos/modules/services/audio | |
parent | 6025caa92ba17b8818148c44957029c6e083f06c (diff) |
Minor logic fix
music_directory "${cfg.musicDirectory}" playlist_directory "${cfg.dataDir}/playlists" db_file "${cfg.dataDir}/tag_cache" state_file "${cfg.dataDir}/state" sticker_file "${cfg.dataDir}/sticker.sql" all refer to ${cfg.datadir}, which by default is "/var/lib/mpd/". Parsing for instance ${cfg.datadir}/playlists results in: /var/lib/mpd//playlists - NOT FOUND.
Diffstat (limited to 'nixos/modules/services/audio')
-rw-r--r-- | nixos/modules/services/audio/mpd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/audio/mpd.nix b/nixos/modules/services/audio/mpd.nix index 1b50f06bf30d3..53542e34b14b8 100644 --- a/nixos/modules/services/audio/mpd.nix +++ b/nixos/modules/services/audio/mpd.nix @@ -52,7 +52,7 @@ in { }; dataDir = mkOption { - default = "/var/lib/mpd/"; + default = "/var/lib/mpd"; description = '' The directory where MPD stores its state, tag cache, playlists etc. |