Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { pkgs |
Skyler Grey | 40b2a8a | 2023-03-11 19:21:00 +0000 | [diff] [blame] | 2 | , username |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 3 | , vscode-extensions |
| 4 | , system |
Skyler Grey | e027892 | 2022-10-31 00:32:10 +0000 | [diff] [blame] | 5 | , home |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 6 | , ... |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 7 | }: { |
| 8 | home.programs.vscode = { |
| 9 | enable = true; |
Skyler Grey | 40b2a8a | 2023-03-11 19:21:00 +0000 | [diff] [blame] | 10 | enableUpdateCheck = false; |
| 11 | enableExtensionUpdateCheck = false; |
| 12 | package = pkgs.vscode-fhs; |
| 13 | extensions = with vscode-extensions.packages.${system}; [ |
| 14 | vscode.quandinh.onehalf-dark |
| 15 | pkgs.vscode-extensions.ms-vsliveshare.vsliveshare |
| 16 | pkgs.vscode-extensions.ms-vscode-remote.remote-ssh |
| 17 | ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ |
| 18 | /* { */ |
| 19 | /* name = "codeium"; */ |
| 20 | /* publisher = "Codeium"; */ |
| 21 | /* version = "1.1.51"; */ |
| 22 | /* sha256 = "sha256-MgIRItR2QhGk9U2x+nWjOkUYJxEwYzaKOsxfptpVDaw="; */ |
| 23 | /* } */ |
| 24 | ]; |
| 25 | mutableExtensionsDir = true; |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 26 | userSettings = { |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 27 | "workbench.colorTheme" = "onehalf-dark"; |
| 28 | "workbench.startupEditor" = "none"; |
Skyler Grey | 5fce8d4 | 2022-10-30 23:02:58 +0000 | [diff] [blame] | 29 | "files.autoSave" = "afterDelay"; |
| 30 | "files.autoSaveDelay" = 100; |
Skyler Grey | 1f86071 | 2022-11-05 10:11:40 +0000 | [diff] [blame] | 31 | "editor.lineNumbers" = "relative"; |
Skyler Grey | e027892 | 2022-10-31 00:32:10 +0000 | [diff] [blame] | 32 | "extensions.experimental.affinity" = { |
| 33 | "asvetliakov.vscode-neovim" = 1; |
| 34 | }; |
| 35 | "vscode-neovim.neovimExecutablePaths.linux" = "${home.programs.neovim.finalPackage}/bin/nvim"; |
Skyler Grey | 10dd87b | 2023-02-16 16:21:22 +0000 | [diff] [blame] | 36 | "security.workspace.trust.enabled" = false; |
Skyler Grey | 40b2a8a | 2023-03-11 19:21:00 +0000 | [diff] [blame] | 37 | "codeium.enableSearch" = true; |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 38 | }; |
| 39 | }; |
Skyler Grey | 6b291c4 | 2023-01-25 21:34:13 +0000 | [diff] [blame] | 40 | config.internal.allowUnfree = [ |
| 41 | "vscode-extension-ms-vsliveshare-vsliveshare" |
Skyler Grey | 886c40f | 2023-03-07 13:15:24 +0000 | [diff] [blame] | 42 | "vscode-extension-ms-vscode-remote-remote-ssh" |
Skyler Grey | 6b291c4 | 2023-01-25 21:34:13 +0000 | [diff] [blame] | 43 | "vscode" |
| 44 | "vscode-with-extensions" |
Skyler Grey | 40b2a8a | 2023-03-11 19:21:00 +0000 | [diff] [blame] | 45 | "code" |
Skyler Grey | 6b291c4 | 2023-01-25 21:34:13 +0000 | [diff] [blame] | 46 | ]; |
Skyler Grey | 40b2a8a | 2023-03-11 19:21:00 +0000 | [diff] [blame] | 47 | config.environment.persistence."/large/persist".users.${username}.directories = [ ".vscode/extensions" ]; |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 48 | } |