blob: f839c9fb9b07740f3bbd4656c891c0a36c4b160d [file] [log] [blame]
Skyler Grey252927a2022-10-18 22:18:15 +01001{ pkgs
2, vscode-extensions
3, system
Skyler Greye0278922022-10-31 00:32:10 +00004, home
Skyler Grey252927a2022-10-18 22:18:15 +01005, ...
Skyler Grey0bfc39a2022-09-01 23:57:50 +01006}: {
7 home.programs.vscode = {
8 enable = true;
Skyler Grey6b291c42023-01-25 21:34:13 +00009 package = pkgs.vscode-with-extensions.override {
10 vscodeExtensions = with vscode-extensions.packages.${system}; [
11 vscode.quandinh.onehalf-dark
12 pkgs.vscode-extensions.ms-vsliveshare.vsliveshare
13 pkgs.vscode-extensions.asvetliakov.vscode-neovim
14 ];
15 } // {
16 pname = "vscode";
17 };
Skyler Grey0bfc39a2022-09-01 23:57:50 +010018 mutableExtensionsDir = false;
19 userSettings = {
20 "update.channel" = "none";
21 "workbench.colorTheme" = "onehalf-dark";
22 "workbench.startupEditor" = "none";
Skyler Grey5fce8d42022-10-30 23:02:58 +000023 "files.autoSave" = "afterDelay";
24 "files.autoSaveDelay" = 100;
Skyler Grey1f860712022-11-05 10:11:40 +000025 "editor.lineNumbers" = "relative";
Skyler Greye0278922022-10-31 00:32:10 +000026 "extensions.experimental.affinity" = {
27 "asvetliakov.vscode-neovim" = 1;
28 };
29 "vscode-neovim.neovimExecutablePaths.linux" = "${home.programs.neovim.finalPackage}/bin/nvim";
Skyler Grey10dd87b2023-02-16 16:21:22 +000030 "security.workspace.trust.enabled" = false;
Skyler Grey0bfc39a2022-09-01 23:57:50 +010031 };
32 };
Skyler Grey6b291c42023-01-25 21:34:13 +000033 config.internal.allowUnfree = [
34 "vscode-extension-ms-vsliveshare-vsliveshare"
35 "vscode"
36 "vscode-with-extensions"
37 ];
Skyler Grey0bfc39a2022-09-01 23:57:50 +010038}