2024-06-22 19:25:51 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
2024-06-23 14:32:47 +02:00
|
|
|
cfg = config.jhome.nvim;
|
2024-06-22 19:25:51 +02:00
|
|
|
in {
|
2024-05-04 20:57:33 +02:00
|
|
|
imports = [./options.nix];
|
2024-02-16 20:10:20 +01:00
|
|
|
|
2024-06-23 14:32:47 +02:00
|
|
|
config.programs.nixvim = lib.mkMerge [
|
|
|
|
./standalone.nix
|
|
|
|
(lib.mkIf cfg.enable {
|
|
|
|
enable = true;
|
|
|
|
defaultEditor = lib.mkDefault true;
|
|
|
|
})
|
|
|
|
];
|
2024-02-16 20:10:20 +01:00
|
|
|
}
|