mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-30 16:10:45 +00:00
Since Copilot CLI 1.0.35, user settings live in settings.json and config.json holds internal state. On startup, 1.0.88 moves user keys out of a Home Manager config.json into settings.json and rewrites config.json as a regular file, replacing the link, so the next switch collides on config.json. Link the declared settings as settings.json instead and stop managing config.json, including the firstLaunchAt workaround that only existed for it. A read-only settings.json link survives startup; Copilot CLI replaces it only when it saves a setting. Copilot CLI drops trusted_folders from settings.json and moves trustedFolders into its own state in config.json, rewriting settings.json and so replacing a linked file. Leave both keys out of the file, warn when either is set, and do not manage the file when they are the only settings. Document the canonical allowedUrls and deniedUrls names. The old config.json link is removed by linkGeneration when it still points into a generation; a regular file left by Copilot CLI stays for it to manage. The news entry and release note tell users whose Copilot CLI already wrote a regular settings.json to remove it before switching, since the new link would collide with it.
5 lines
54 B
JSON
5 lines
54 B
JSON
{
|
|
"model": "claude-sonnet-4-5",
|
|
"theme": "dark"
|
|
}
|