mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
18 lines
493 B
Nix
18 lines
493 B
Nix
{
|
|
programs.github-copilot-cli = {
|
|
enable = true;
|
|
settings = {
|
|
model = "claude-sonnet-4-5";
|
|
theme = "dark";
|
|
trusted_folders = [ "/home/user/projects" ];
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.copilot/config.json
|
|
assertFileContent home-files/.copilot/config.json ${./expected-config.json}
|
|
assertPathNotExists home-files/.copilot/mcp-config.json
|
|
assertFileNotRegex home-path/etc/profile.d/hm-session-vars.sh 'COPILOT_HOME'
|
|
'';
|
|
}
|