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