configuration.nix/nvim/default.nix
Jalil David Salamé Messina 7963190ef1
fix(nvim): conflict with using global packages
Now it is an error to override the pkgs if global packages are being
used.
2025-01-18 11:41:26 +01:00

16 lines
289 B
Nix

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