mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-07 21:16:33 +01:00
17 lines
241 B
Nix
17 lines
241 B
Nix
|
{ 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;
|
||
|
};
|
||
|
};
|
||
|
}
|