All checks were successful
/ check (nvimDev) (push) Successful in 35s
/ check (nvimHeadless) (push) Successful in 6s
/ check (nvimNoBundledBins) (push) Successful in 8s
/ check (nvimNoLsp) (push) Successful in 8s
/ check (nvimNoTSGrammars) (push) Successful in 8s
/ check (treefmt) (push) Successful in 2s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 36s
/ build (nvim) (push) Successful in 14s
/ report-size (push) Successful in 1m14s
This ensures the `nixpkgs-unstable` we consume is tested against `nixvim`.
17 lines
331 B
Nix
17 lines
331 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;
|
|
# nixpkgs.useGlobalPackages = true;
|
|
defaultEditor = lib.mkDefault true;
|
|
jhome.nvim = cfg;
|
|
})
|
|
];
|
|
}
|