mpd: change musicDirectory to str (#1449)

This commit is contained in:
dawidsowa
2020-09-06 23:37:46 +02:00
committed by GitHub
parent 4ebb7d1715
commit 249650a07e

View File

@@ -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.