Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { pkgs |
| 2 | , vscode-extensions |
| 3 | , system |
Skyler Grey | e027892 | 2022-10-31 00:32:10 +0000 | [diff] [blame] | 4 | , home |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 5 | , ... |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 6 | }: { |
| 7 | home.programs.vscode = { |
| 8 | enable = true; |
| 9 | package = pkgs.vscodium; |
| 10 | extensions = with vscode-extensions.packages.${system}; [ |
| 11 | vscode.quandinh.onehalf-dark |
| 12 | pkgs.vscode-extensions.ms-vsliveshare.vsliveshare |
Skyler Grey | e027892 | 2022-10-31 00:32:10 +0000 | [diff] [blame] | 13 | pkgs.vscode-extensions.asvetliakov.vscode-neovim |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 14 | ]; |
| 15 | mutableExtensionsDir = false; |
| 16 | userSettings = { |
| 17 | "update.channel" = "none"; |
| 18 | "workbench.colorTheme" = "onehalf-dark"; |
| 19 | "workbench.startupEditor" = "none"; |
Skyler Grey | 5fce8d4 | 2022-10-30 23:02:58 +0000 | [diff] [blame] | 20 | "files.autoSave" = "afterDelay"; |
| 21 | "files.autoSaveDelay" = 100; |
Skyler Grey | 1f86071 | 2022-11-05 10:11:40 +0000 | [diff] [blame] | 22 | "editor.lineNumbers" = "relative"; |
Skyler Grey | e027892 | 2022-10-31 00:32:10 +0000 | [diff] [blame] | 23 | "extensions.experimental.affinity" = { |
| 24 | "asvetliakov.vscode-neovim" = 1; |
| 25 | }; |
| 26 | "vscode-neovim.neovimExecutablePaths.linux" = "${home.programs.neovim.finalPackage}/bin/nvim"; |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 27 | }; |
| 28 | }; |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 29 | config.internal.allowUnfree = [ "vscode-extension-ms-vsliveshare-vsliveshare" ]; |
Skyler Grey | 0bfc39a | 2022-09-01 23:57:50 +0100 | [diff] [blame] | 30 | } |