15 lines
256 B
Nix
15 lines
256 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;
|
|
})
|
|
];
|
|
}
|