nix-community.nixvim/wrappers/darwin.nix

32 lines
432 B
Nix
Raw Permalink Normal View History

self:
2024-05-05 19:39:35 +02:00
{
config,
lib,
...
2024-12-14 11:32:01 -06:00
}:
2024-05-05 19:39:35 +02:00
let
inherit (lib)
mkIf
;
2022-12-30 21:12:07 +01:00
cfg = config.programs.nixvim;
evalArgs = {
extraSpecialArgs = {
darwinConfig = config;
};
modules = [
./modules/darwin.nix
];
};
2024-05-05 19:39:35 +02:00
in
{
_file = ./darwin.nix;
imports = [ (import ./_shared.nix { inherit self evalArgs; }) ];
config = mkIf cfg.enable {
environment.systemPackages = [
cfg.build.package
];
};
2022-12-30 21:12:07 +01:00
}