configuration.nix/nvim/default.nix
Jalil David Salamé Messina a24b51310d
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
fix(flake): use nixvim's nixpkgs instead of our own
This ensures the `nixpkgs-unstable` we consume is tested against
`nixvim`.
2025-02-09 13:01:36 +01:00

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