[fix] nvim: I broke it again ma
Major refactoring in order to fix it T-T
This commit is contained in:
parent
ac30838621
commit
6c248db49a
8 changed files with 561 additions and 576 deletions
|
@ -1,14 +1,17 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
helpers,
|
||||
...
|
||||
}: let
|
||||
# Force inputs to be included
|
||||
nixvim = import ./nixvim.nix {inherit lib pkgs config helpers;};
|
||||
cfg = config.jhome.nvim;
|
||||
in {
|
||||
imports = [./options.nix];
|
||||
|
||||
config.programs.nixvim = nixvim.config;
|
||||
config.programs.nixvim = lib.mkMerge [
|
||||
./standalone.nix
|
||||
(lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
defaultEditor = lib.mkDefault true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue