nix-conf/modules/neovim/default.nix

17 lines
241 B
Nix
Raw Normal View History

2024-07-15 18:00:45 +02:00
{ config, lib, ... }:
let
cfg = config.jopejoe1.neovim;
in
{
options.jopejoe1.neovim = {
enable = lib.mkEnableOption "Enable neovim";
};
config = lib.mkIf cfg.enable {
programs.nixvim = {
enable = true;
};
};
}