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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.