configuration.nix/nvim/default.nix
Jalil David Salamé Messina 6c248db49a
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
[fix] nvim: I broke it again ma
Major refactoring in order to fix it T-T
2024-06-23 15:52:29 +02:00

17 lines
260 B
Nix

{
lib,
config,
...
}: let
cfg = config.jhome.nvim;
in {
imports = [./options.nix];
config.programs.nixvim = lib.mkMerge [
./standalone.nix
(lib.mkIf cfg.enable {
enable = true;
defaultEditor = lib.mkDefault true;
})
];
}