diff options
author | dawidsowa <dawid_sowa@posteo.net> | 2020-09-06 23:37:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 23:37:46 +0200 |
commit | 249650a07ee2d949fa599f3177a8c234adbd1bee (patch) | |
tree | f45890da8f6c7cc38453031da78ed02f22802c8b | |
parent | 4ebb7d1715d77269e8bf0eea3c84c8f8e8cd5caa (diff) |
mpd: change musicDirectory to str (#1449)
-rw-r--r-- | modules/services/mpd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index 2aa1cd3a9fe..13b3ae78f26 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. |