nix/module/common/Nvim.nix

22 lines
361 B
Nix
Raw Normal View History

{ inputs, pkgs, ... }: let
2024-03-25 01:10:28 +03:00
nvimCfg = import ./nvim/Init.nix { inputs = inputs; };
in {
environment = {
variables = {
EDITOR = "nvim";
MANPAGER = "nvim +Man!";
};
systemPackages = with pkgs; [
gcc
];
};
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
configure = {
2024-03-25 01:10:28 +03:00
customRC = nvimCfg.customRc;
};
};
}