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 [
|
2025-01-18 11:27:40 +01:00
|
|
|
(import ./standalone.nix)
|
2024-06-23 14:32:47 +02:00
|
|
|
(lib.mkIf cfg.enable {
|
|
|
|
enable = true;
|
|
|
|
defaultEditor = lib.mkDefault true;
|
2024-12-14 23:05:54 +01:00
|
|
|
jhome.nvim = cfg;
|
2024-06-23 14:32:47 +02:00
|
|
|
})
|
|
|
|
];
|
2024-02-16 20:10:20 +01:00
|
|
|
}
|