VSCode settings
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
gopls
|
||||||
synology-drive-client
|
synology-drive-client
|
||||||
] ++ ( if pkgs.system == "x86_64-darwin" then
|
] ++ ( if pkgs.system == "x86_64-darwin" then
|
||||||
[
|
[
|
||||||
@@ -23,4 +24,30 @@
|
|||||||
vlc
|
vlc
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
vscode = let
|
||||||
|
codepkg = pkgs.vscode-with-extensions.override {
|
||||||
|
vscodeExtensions = with pkgs.vscode-extensions; [
|
||||||
|
coenraads.bracket-pair-colorizer-2
|
||||||
|
eamodio.gitlens
|
||||||
|
formulahendry.auto-rename-tag
|
||||||
|
golang.go
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
ms-azuretools.vscode-docker
|
||||||
|
ms-python.python
|
||||||
|
redhat.vscode-yaml
|
||||||
|
yzhang.markdown-all-in-one
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
enable = true;
|
||||||
|
userSettings = {
|
||||||
|
"update.channel" = "none";
|
||||||
|
"editor.renderWhitespace" = "all";
|
||||||
|
"editor.tabWidth" = "8";
|
||||||
|
};
|
||||||
|
package = codepkg;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user