diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-03 21:59:21 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-03 21:59:21 -0500 |
| commit | 1ad3516705412f10d76308008a5810d80b499818 (patch) | |
| tree | 85c2abe551c44c4fe6cd9e6b0bad718151a686cf /users/timmy/home.nix | |
| parent | 7012f1047ec39b654bae55233da35544289e989c (diff) | |
| download | nixos-1ad3516705412f10d76308008a5810d80b499818.tar.xz nixos-1ad3516705412f10d76308008a5810d80b499818.zip | |
update nvim configs and add projects dir
Diffstat (limited to 'users/timmy/home.nix')
| -rw-r--r-- | users/timmy/home.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/users/timmy/home.nix b/users/timmy/home.nix index 77934bc..958c8e7 100644 --- a/users/timmy/home.nix +++ b/users/timmy/home.nix @@ -9,12 +9,12 @@ download = "${home}/dls"; documents = "${home}/docs"; pictures = "${home}/pics"; + projects = "${home}/docs/src"; # Set these as null so they're not created music = null; publicShare = null; templates = null; videos = null; - #projects = "${home}/docs/src" }; in { options._users.${username}.home = { @@ -68,12 +68,12 @@ in { # Setup neovim programs._neovim = { enable = true; - package = pkgs.unstable.neovim; viAlias = true; vimAlias = true; plugins = { lsp = { enable = lib.mkDefault true; + lspconfig.enable = true; languageServers.packages = with pkgs; [ python313Packages.python-lsp-server svelte-language-server @@ -82,12 +82,9 @@ in { vscode-langservers-extracted ]; }; - treesitter = let - allTSParserPackages = builtins.filter lib.isDerivation - (builtins.attrValues pkgs.vimPlugins.nvim-treesitter-parsers); - in { + treesitter = { enable = lib.mkDefault true; - parsers.packages = allTSParserPackages; + parsers.installAll = lib.mkDefault true; }; packages.start = with pkgs.vimPlugins; [ autoclose-nvim @@ -96,7 +93,7 @@ in { minitab-nvim nvim-colorizer-lua nvim-ts-autotag # depends on treesitter - pkgs.unstable.vimPlugins.rainbow-delimiters-nvim # depends on treesitter + rainbow-delimiters-nvim # depends on treesitter snacks-nvim ]; }; |
