nixos/mpd: Mention in /etc/mpd.conf it was autogenerated

This commit is contained in:
Doron Behar 2020-09-10 16:51:28 +03:00
parent ccee8dc09f
commit b4756fe0c4

View File

@ -11,6 +11,10 @@ let
cfg = config.services.mpd;
mpdConf = pkgs.writeText "mpd.conf" ''
# This file was automatically generated by NixOS. Edit mpd's configuration
# via NixOS' configuration.nix, as this file will be rewritten upon mpd's
# restart.
music_directory "${cfg.musicDirectory}"
playlist_directory "${cfg.playlistDirectory}"
${lib.optionalString (cfg.dbFile != null) ''