{ lib, config, ... }: let cfg = config.py.programs.neovim; in { options.py.programs.neovim.enable = lib.mkEnableOption "Neovim configuration"; config.programs.neovim = lib.mkIf cfg.enable { enable = true; defaultEditor = true; viAlias = true; vimAlias = true; withRuby = false; withNodeJs = false; withPython3 = false; }; }