anchor.diff:  let
   
     cfg = config.programs.vscode;
  +
  +  configFilePath =
  +    if pkgs.stdenv.hostPlatform.isDarwin then
  +      "Library/Application Support/Code/User/settings.json"
  +    else
  +      "${config.xdg.configHome}/Code/User/settings.json";
   
   in
   
  
positive.code:       })
      ];
  
      xdg.configFile."Code/User/settings.json".text =
        builtins.toJSON cfg.userSettings;
    };
  }
  
negative.code:           }
          '';
          description = ''
            Configuration written to Visual Studio Code's
            <filename>settings.json</filename>.
          '';
        };
  
  