summary refs log tree commit diff
path: root/modules/packages
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-11 21:23:21 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-11 21:23:21 +0100
commit5aae161f96695944010bda91b3e63b00056306fd (patch)
treebe5571b107f5c72c23e31637e4f3f7ae7e10d09b /modules/packages
downloadRory-Open-Architecture-5aae161f96695944010bda91b3e63b00056306fd.tar.xz
Initial commit
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'modules/packages')
-rw-r--r--modules/packages/vim.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/packages/vim.nix b/modules/packages/vim.nix
new file mode 100644
index 0000000..3524e2c
--- /dev/null
+++ b/modules/packages/vim.nix
@@ -0,0 +1,22 @@
+{ pkgs, ... }:
+{
+  environment.variables = { EDITOR = "vim"; };
+
+  environment.systemPackages = with pkgs; [
+    (neovim.override {
+      vimAlias = true;
+      configure = {
+        packages.myPlugins = with pkgs.vimPlugins; {
+          start = [ vim-lastplace vim-nix vim-airline ]; 
+          opt = [];
+        };
+        customRC = ''
+          " your custom vimrc
+          set nocompatible
+          set backspace=indent,eol,start
+          " ...
+        '';
+      };
+    }
+  )];
+}