1{
2 lib,
3 config,
4 ...
5}:
6let
7 cfg = config.py.programs.neovim;
8in
9{
10 options.py.programs.neovim.enable = lib.mkEnableOption "Neovim configuration";
11
12 config.programs.neovim = lib.mkIf cfg.enable {
13 enable = true;
14 defaultEditor = true;
15 viAlias = true;
16 vimAlias = true;
17 withRuby = false;
18 withNodeJs = false;
19 withPython3 = false;
20 };
21}