summary refs log tree commit diff
path: root/nixos/modules/profiles/base.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/profiles/base.nix')
-rw-r--r--nixos/modules/profiles/base.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/modules/profiles/base.nix b/nixos/modules/profiles/base.nix
index c415ca85743..eebc0df1040 100644
--- a/nixos/modules/profiles/base.nix
+++ b/nixos/modules/profiles/base.nix
@@ -20,7 +20,13 @@
     pkgs.mkpasswd # for generating password files
 
     # Some text editors.
-    pkgs.vim
+    (pkgs.vim.customize {
+      name = "vim";
+      vimrcConfig.packages.default = {
+        start = [ pkgs.vimPlugins.vim-nix ];
+      };
+      vimrcConfig.customRC = "syntax on";
+    })
 
     # Some networking tools.
     pkgs.fuse