1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02:00

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.