2024-07-03 23:58:26 +02:00
|
|
|
{ lib, config, ... }:
|
|
|
|
let
|
2024-06-23 14:32:47 +02:00
|
|
|
cfg = config.jhome.nvim;
|
2024-07-03 23:58:26 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
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
|
|
|
}
|