diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index 5dc80a4a3..2aa1cd3a9 100644 --- a/modules/services/mpd.nix +++ b/modules/services/mpd.nix @@ -45,6 +45,7 @@ in { type = types.path; default = "${config.home.homeDirectory}/music"; defaultText = "$HOME/music"; + apply = toString; # Prevent copies to Nix store. description = '' The directory where mpd reads music from. ''; @@ -54,6 +55,7 @@ in { type = types.path; default = "${cfg.dataDir}/playlists"; defaultText = ''''${dataDir}/playlists''; + apply = toString; # Prevent copies to Nix store. description = '' The directory where mpd stores playlists. ''; @@ -78,6 +80,7 @@ in { type = types.path; default = "${config.xdg.dataHome}/${name}"; defaultText = "$XDG_DATA_HOME/mpd"; + apply = toString; # Prevent copies to Nix store. description = '' The directory where MPD stores its state, tag cache, playlists etc.