summaryrefslogtreecommitdiff
path: root/home/neovim/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/neovim/default.nix')
-rw-r--r--home/neovim/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/neovim/default.nix b/home/neovim/default.nix
index 883c170..495da04 100644
--- a/home/neovim/default.nix
+++ b/home/neovim/default.nix
@@ -12,6 +12,10 @@
programs.neovim = {
enable = true;
+ # Import my existing config. I've been working on this for years and when
+ # my enthusiasm for Nix eventually dies off, I want to take it with me.
+ extraConfig = builtins.readFile ./init.vim;
+
# Typing `vi`, `vim`, or `vimdiff` will also run neovim.
viAlias = true;
vimAlias = true;