diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home/dev-tools.nix | 1 | ||||
| -rw-r--r-- | modules/home/editor.nix | 13 |
2 files changed, 13 insertions, 1 deletions
diff --git a/modules/home/dev-tools.nix b/modules/home/dev-tools.nix index f98790e..f74c2b7 100644 --- a/modules/home/dev-tools.nix +++ b/modules/home/dev-tools.nix | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | tmux | 5 | tmux |
| 6 | htop | 6 | htop |
| 7 | yq-go | 7 | yq-go |
| 8 | tree-sitter | ||
| 9 | docker | 8 | docker |
| 10 | docker-compose | 9 | docker-compose |
| 11 | kubectl | 10 | kubectl |
diff --git a/modules/home/editor.nix b/modules/home/editor.nix index b687552..413ca8f 100644 --- a/modules/home/editor.nix +++ b/modules/home/editor.nix | |||
| @@ -1,7 +1,20 @@ | |||
| 1 | { pkgs, ... }: | ||
| 1 | { | 2 | { |
| 2 | programs.neovim = { | 3 | programs.neovim = { |
| 3 | enable = true; | 4 | enable = true; |
| 4 | defaultEditor = true; | 5 | defaultEditor = true; |
| 5 | vimAlias = true; | 6 | vimAlias = true; |
| 7 | # Never write ~/.config/nvim/init.lua ourselves - that path is owned by | ||
| 8 | # the externally-managed dotfiles config (lazy.nvim + plugins), stowed | ||
| 9 | # in separately. Without this, home-manager's own generated init.lua | ||
| 10 | # permanently conflicts with that stow package and it gets skipped. | ||
| 11 | sideloadInitLua = true; | ||
| 6 | }; | 12 | }; |
| 13 | |||
| 14 | # tree-sitter (parser compilation) and a C compiler for natively-built | ||
| 15 | # Neovim plugins declared by the dotfiles-owned config above. | ||
| 16 | home.packages = with pkgs; [ | ||
| 17 | tree-sitter | ||
| 18 | stdenv.cc | ||
| 19 | ]; | ||
| 7 | } | 20 | } |
