Remove global github copilot
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -41,8 +41,6 @@ in
|
|||||||
mhutchie.git-graph
|
mhutchie.git-graph
|
||||||
ms-azuretools.vscode-docker
|
ms-azuretools.vscode-docker
|
||||||
ms-vsliveshare.vsliveshare
|
ms-vsliveshare.vsliveshare
|
||||||
github.copilot
|
|
||||||
github.copilot-chat
|
|
||||||
naumovs.color-highlight
|
naumovs.color-highlight
|
||||||
signageos.signageos-vscode-sops
|
signageos.signageos-vscode-sops
|
||||||
];
|
];
|
||||||
@@ -91,9 +89,6 @@ in
|
|||||||
"git.ignoreRebaseWarning" = true;
|
"git.ignoreRebaseWarning" = true;
|
||||||
"git.openRepositoryInParentFolders" = "always";
|
"git.openRepositoryInParentFolders" = "always";
|
||||||
"git.path" = lib.meta.getExe pkgs.git;
|
"git.path" = lib.meta.getExe pkgs.git;
|
||||||
"github.copilot.enable" = {
|
|
||||||
"*" = true;
|
|
||||||
};
|
|
||||||
"mergeEditor.diffAlgorithm" = "advanced";
|
"mergeEditor.diffAlgorithm" = "advanced";
|
||||||
"security.workspace.trust.enabled" = false;
|
"security.workspace.trust.enabled" = false;
|
||||||
"telemetry.telemetryLevel" = "off";
|
"telemetry.telemetryLevel" = "off";
|
||||||
|
19
hosts/elara/users/nikara/configs/gui/vscode/default.nix
Normal file
19
hosts/elara/users/nikara/configs/gui/vscode/default.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -75,6 +75,7 @@ in
|
|||||||
(import ./configs/console/snyk { inherit user home; })
|
(import ./configs/console/snyk { inherit user home; })
|
||||||
|
|
||||||
(import ./configs/gui/obsidian { inherit user home; })
|
(import ./configs/gui/obsidian { inherit user home; })
|
||||||
|
(import ./configs/gui/vscode { inherit user home; })
|
||||||
|
|
||||||
# Private Imports
|
# Private Imports
|
||||||
(import ./configs/console/jsonify { inherit user home; })
|
(import ./configs/console/jsonify { inherit user home; })
|
||||||
|
Reference in New Issue
Block a user