Jalil David Salamé Messina
7963190ef1
Now it is an error to override the pkgs if global packages are being used.
16 lines
289 B
Nix
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;
|
|
})
|
|
];
|
|
}
|