anchor.diff:    gid = config.ids.gids.mpd;
     cfg = config.services.mpd;
   
  -  playlistDir = "${cfg.dataDir}/playlists";
  -
     mpdConf = pkgs.writeText "mpd.conf" ''
       music_directory     "${cfg.musicDirectory}"
  -    playlist_directory  "${playlistDir}"
  +    playlist_directory  "${cfg.playlistDirectory}"
       db_file             "${cfg.dbFile}"
       state_file          "${cfg.dataDir}/state"
       sticker_file        "${cfg.dataDir}/sticker.sql"
  
positive.code: 
        preStart = ''
          mkdir -p "${cfg.dataDir}" && chown -R ${cfg.user}:${cfg.group} "${cfg.dataDir}"
          mkdir -p "${playlistDir}" && chown -R ${cfg.user}:${cfg.group} "${playlistDir}"
        '';
        serviceConfig = {
          User = "${cfg.user}";
  
negative.code:       musicDirectory = mkOption {
          type = types.path;
          default = "${cfg.dataDir}/music";
          defaultText = ''''${dataDir}/music'';
          description = ''
            The directory where mpd reads music from.
          '';
        };
  
        playlistDirectory = mkOption {
          type = types.path;
          default = "${cfg.dataDir}/playlists";
          defaultText = ''''${dataDir}/playlists'';
          description = ''
            The directory where mpd stores playlists.
          '';
        };
  
  