nixos/mpd: Mention in /etc/mpd.conf it was autogenerated
This commit is contained in:
parent
ccee8dc09f
commit
b4756fe0c4
@ -11,6 +11,10 @@ let
|
|||||||
cfg = config.services.mpd;
|
cfg = config.services.mpd;
|
||||||
|
|
||||||
mpdConf = pkgs.writeText "mpd.conf" ''
|
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}"
|
music_directory "${cfg.musicDirectory}"
|
||||||
playlist_directory "${cfg.playlistDirectory}"
|
playlist_directory "${cfg.playlistDirectory}"
|
||||||
${lib.optionalString (cfg.dbFile != null) ''
|
${lib.optionalString (cfg.dbFile != null) ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user