nix/module/common/Nvim.nix

22 lines
363 B
Nix
Raw Normal View History

2024-04-06 03:03:58 +03:00
{ inputs, pkgs, util, key, setting, ... } @args: let
nvim = import ./nvim/Init.nix 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;
};
};
}