git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/mpd: Mention in /etc/mpd.conf it was autogenerated
commitb4756fe0c473f40f337c2c7d1059a5de5d47e181 authorDoron Behar <doron.behar@gmail.com> dateThu 10 Sep 2020, 16:51 (6 years ago) parentccee8dc
1 file changed+4
nixos/modules/services/audio/mpd.nix+4
nixos/modules/services/audio/mpd.nix+4
@@ -11,6 +11,10 @@ let
1111 cfg = config.services.mpd;
1212
1313 mpdConf = pkgs.writeText "mpd.conf" ''
14+ # This file was automatically generated by NixOS. Edit mpd's configuration
15+ # via NixOS' configuration.nix, as this file will be rewritten upon mpd's
16+ # restart.
17+
1418 music_directory "${cfg.musicDirectory}"
1519 playlist_directory "${cfg.playlistDirectory}"
1620 ${lib.optionalString (cfg.dbFile != null) ''