nichts/modules/editors/nixvim.nix
2024-05-21 22:30:34 +02:00

14 lines
298 B
Nix

{pkgs, config, lib, ...}:
with lib;
let
cfg = config.modules.editors.nixvim;
inherit (inputs.nixvim.packges.${pkgs.system}) nixvim;
in {
options.modules.editors.nivim.enable = mkEnableOption "nixvim";
config = mkIf cfg.enable {
programs.nixvim = {
enable = true;
};
};
}