nix/module/common/Nvim.nix

22 lines
354 B
Nix
Raw Normal View History

2024-04-06 03:03:58 +03:00
{ inputs, pkgs, util, key, setting, ... } @args: let
2024-04-14 22:54:20 +03:00
nvim = import ./nvim args;
in {
environment = {
variables = {
EDITOR = "nvim";
MANPAGER = "nvim +Man!";
};
systemPackages = with pkgs; [
gcc
];
};
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
configure = {
2024-04-06 03:03:58 +03:00
customRC = nvim.config;
};
};
}