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