17 lines
260 B
Nix
17 lines
260 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.jhome.nvim;
|
|
in {
|
|
imports = [./options.nix];
|
|
|
|
config.programs.nixvim = lib.mkMerge [
|
|
./standalone.nix
|
|
(lib.mkIf cfg.enable {
|
|
enable = true;
|
|
defaultEditor = lib.mkDefault true;
|
|
})
|
|
];
|
|
}
|