diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index 2aa1cd3a9..13b3ae78f 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.