summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/home.nix1
-rw-r--r--modules/home/nvim.nix12
2 files changed, 13 insertions, 0 deletions
diff --git a/modules/home.nix b/modules/home.nix
index 93cbeed..f844fee 100644
--- a/modules/home.nix
+++ b/modules/home.nix
@@ -1,5 +1,6 @@
{ config, pkgs, inputs, ... }:
{
+ imports = [ ./home/nvim.nix ];
home.stateVersion = "25.11";
diff --git a/modules/home/nvim.nix b/modules/home/nvim.nix
new file mode 100644
index 0000000..f715f75
--- /dev/null
+++ b/modules/home/nvim.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }: {
+ programs.neovim = {
+ enable = true;
+ defaultEditor = true;
+ viAlias = true;
+ vimAlias = true;
+
+ plugins = with pkgs.vimPlugins; [
+ nvim-treesitter.withAllGrammars
+ ];
+ };
+}