summaryrefslogtreecommitdiff
path: root/common/nvim.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/nvim.nix')
-rw-r--r--common/nvim.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/common/nvim.nix b/common/nvim.nix
new file mode 100644
index 0000000..94403a9
--- /dev/null
+++ b/common/nvim.nix
@@ -0,0 +1,14 @@
+{
+ programs.neovim = {
+ enable = true;
+ defaultEditor = true;
+ viAlias = true;
+ vimAlias = true;
+
+ configure = {
+ customRC = ''
+ luafile ${./nvim.lua}
+ '';
+ };
+ };
+}