From 249650a07ee2d949fa599f3177a8c234adbd1bee Mon Sep 17 00:00:00 2001 From: dawidsowa Date: Sun, 6 Sep 2020 23:37:46 +0200 Subject: [PATCH] mpd: change musicDirectory to str (#1449) --- modules/services/mpd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index 2aa1cd3a9..13b3ae78f 100644 --- a/modules/services/mpd.nix +++ b/modules/services/mpd.nix @@ -42,7 +42,7 @@ in { }; musicDirectory = mkOption { - type = types.path; + type = with types; either path str; default = "${config.home.homeDirectory}/music"; defaultText = "$HOME/music"; apply = toString; # Prevent copies to Nix store.