Add hugo vscode extension
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
24
hosts/common/configs/user/gui/vscode/copilot.nix
Normal file
24
hosts/common/configs/user/gui/vscode/copilot.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.copilot.enable {
|
||||
programs.vscode.profiles.default = {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
github.copilot
|
||||
github.copilot-chat
|
||||
];
|
||||
|
||||
userSettings = {
|
||||
"github.copilot.enable" = {
|
||||
"*" = true;
|
||||
plaintext = true;
|
||||
markdown = true;
|
||||
};
|
||||
|
||||
"chat.editing.alwaysSaveWithGeneratedChanges" = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user