anchor.diff:  
   let
     cfg = config.services.spotifyd;
  -  spotifydConf = pkgs.writeText "spotifyd.conf" cfg.config;
  +  toml = pkgs.formats.toml {};
  +  warnConfig =
  +    if cfg.config != ""
  +    then lib.trace "Using the stringly typed .config attribute is discouraged. Use the TOML typed .settings attribute instead."
  +    else id;
  +  spotifydConf =
  +    if cfg.settings != {}
  +    then toml.generate "spotify.conf" cfg.settings
  +    else warnConfig (pkgs.writeText "spotifyd.conf" cfg.config);
   in
   {
     options = {
  
positive.code:   };
  
    config = mkIf cfg.enable {
      systemd.services.spotifyd = {
        wantedBy = [ "multi-user.target" ];
        after = [ "network-online.target" "sound.target" ];
  
negative.code:         default = "";
          type = types.lines;
          description = ''
            (Deprecated) Configuration for Spotifyd. For syntax and directives, see
            <link xlink:href="https://github.com/Spotifyd/spotifyd#Configuration"/>.
          '';
        };
  
        settings = mkOption {
          default = {};
          type = toml.type;
          example = { global.bitrate = 320; };
          description = ''
            Configuration for Spotifyd. For syntax and directives, see
            <link xlink:href="https://github.com/Spotifyd/spotifyd#Configuration"/>.
          '';
  