23 lines
475 B
Nix
23 lines
475 B
Nix
{
|
|
user ? throw "user argument is required",
|
|
home ? throw "home argument is required",
|
|
}:
|
|
{ pkgs, ... }:
|
|
{
|
|
home-manager.users.${user}.programs.vscode = {
|
|
extensions = with pkgs.vscode-extensions; [
|
|
github.copilot
|
|
github.copilot-chat
|
|
];
|
|
|
|
userSettings = {
|
|
"github.copilot.enable" = {
|
|
"*" = true;
|
|
"plaintext" = true;
|
|
"markdown" = true;
|
|
};
|
|
"chat.editing.alwaysSaveWithGeneratedChanges" = true;
|
|
};
|
|
};
|
|
}
|