[fix] nvim: I broke it again ma
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 13s

Major refactoring in order to fix it T-T
This commit is contained in:
Jalil David Salamé Messina 2024-06-23 14:32:47 +02:00
parent ac30838621
commit 6c248db49a
Signed by: jalil
GPG key ID: F016B9E770737A0B
8 changed files with 561 additions and 576 deletions

View file

@ -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;
})
];
}