diff --git a/configuration.nix b/configuration.nix index 1d242e3..053f70d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -41,6 +41,7 @@ (import ./overlays/lidarr.nix) (import ./overlays/organizr.nix) (import ./overlays/sudo.nix) + (import ./overlays/neovim.nix) (import ./overlays/site-max.nix) (import ./overlays/site-musique.nix) ]; diff --git a/overlays/neovim.nix b/overlays/neovim.nix new file mode 100644 index 0000000..48d8531 --- /dev/null +++ b/overlays/neovim.nix @@ -0,0 +1,22 @@ +self: super: +{ + neovim = super.neovim.override { + viAlias = true; + vimAlias = true; + configure = { + customRC = '' + set shiftwidth=2 + set softtabstop=2 + set expandtab + set background=dark + ''; + packages.myVimPackage = with super.vimPlugins; { + start = [ + vim-startify airline sensible + polyglot ale fugitive + ]; + opt = [ ]; + }; + }; + }; +}