Compare commits
3 commits
b6c18ce5f2
...
8c8d0fbb56
Author | SHA1 | Date | |
---|---|---|---|
8c8d0fbb56 | |||
88e38e36ec | |||
d5b6ec3daf |
3 changed files with 21 additions and 2 deletions
|
@ -147,7 +147,7 @@
|
||||||
servers = {
|
servers = {
|
||||||
bashls.enable = true;
|
bashls.enable = true;
|
||||||
lua_ls.enable = true;
|
lua_ls.enable = true;
|
||||||
nil_ls.enable = true;
|
nixd.enable = true;
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installRustc = true;
|
installRustc = true;
|
||||||
|
@ -170,7 +170,8 @@
|
||||||
|
|
||||||
plugins.neo-tree = {
|
plugins.neo-tree = {
|
||||||
enable = true;
|
enable = true;
|
||||||
closeIfLastWindow = true;
|
buffers.followCurrentFile.enabled = true;
|
||||||
|
window.width = 30;
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins.cmp-buffer.enable = true;
|
plugins.cmp-buffer.enable = true;
|
||||||
|
|
17
home/vscode.nix
Normal file
17
home/vscode.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
programs.vscode = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscodium;
|
||||||
|
enableUpdateCheck = false;
|
||||||
|
enableExtensionUpdateCheck = false;
|
||||||
|
mutableExtensionsDir = false;
|
||||||
|
extensions = with pkgs.vscode-extensions; [
|
||||||
|
vscodevim.vim
|
||||||
|
jnoortheen.nix-ide # nix language support
|
||||||
|
editorconfig.editorconfig # editorconfig
|
||||||
|
dracula-theme.theme-dracula # color scheme
|
||||||
|
tomoki1207.pdf # pdf viewer
|
||||||
|
yzhang.markdown-all-in-one # markdown tools
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,6 +6,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./common.nix
|
./common.nix
|
||||||
../foot.nix
|
../foot.nix
|
||||||
|
../vscode.nix
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
username = "yt";
|
username = "yt";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue