diff --git a/configuration.nix b/configuration.nix index 5f8e677..bb29759 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,10 +1,10 @@ +# vim: tabstop=2 shiftwidth=2 expandtab { pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; environment.systemPackages = with pkgs; [ - neovim ]; programs.git = { @@ -17,6 +17,18 @@ core.editor = "nvim"; }; }; + + programs.neovim = { + enable = true; + defaultEditor = true; + vimAlias = true; + viAlias = true; + configure = { + customRC = '' + set modeline + ''; + }; + }; boot.tmp.cleanOnBoot = true; zramSwap.enable = true;