nixos/mpd: allow storage plugins in musicDirectory

This commit is contained in:
Johannes Frankenau
2018-08-03 21:36:38 +02:00
parent fbcc4daff7
commit b9234ea49c
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -55,11 +55,11 @@ in {
};
musicDirectory = mkOption {
type = types.path;
type = with types; either path (strMatching "(http|https|nfs|smb)://.+");
default = "${cfg.dataDir}/music";
defaultText = ''''${dataDir}/music'';
description = ''
The directory where mpd reads music from.
The directory or NFS/SMB network share where mpd reads music from.
'';
};