Skip to content

Commit

Permalink
mpd: change musicDirectory to str (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidsowa authored Sep 6, 2020
1 parent 4ebb7d1 commit 249650a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/mpd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 249650a

Please sign in to comment.