feat(neovim): enable modeline support to be able to modify per-file settings

This commit is contained in:
Khaïs COLIN 2024-08-22 09:50:54 +00:00
parent e4aaf2dbba
commit f26b22da86

View file

@ -1,10 +1,10 @@
# vim: tabstop=2 shiftwidth=2 expandtab
{ pkgs, ... }: {
imports = [
./hardware-configuration.nix
];
environment.systemPackages = with pkgs; [
neovim
];
programs.git = {
@ -18,6 +18,18 @@
};
};
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
viAlias = true;
configure = {
customRC = ''
set modeline
'';
};
};
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
networking.hostName = "quasar";