mpd: change musicDirectory to str (#1449)
This commit is contained in:
parent
4ebb7d1715
commit
249650a07e
|
@ -42,7 +42,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
musicDirectory = mkOption {
|
musicDirectory = mkOption {
|
||||||
type = types.path;
|
type = with types; either path str;
|
||||||
default = "${config.home.homeDirectory}/music";
|
default = "${config.home.homeDirectory}/music";
|
||||||
defaultText = "$HOME/music";
|
defaultText = "$HOME/music";
|
||||||
apply = toString; # Prevent copies to Nix store.
|
apply = toString; # Prevent copies to Nix store.
|
||||||
|
|
Loading…
Reference in a new issue