nix-community.nixvim/wrappers/darwin.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
432 B
Nix
Raw Permalink Normal View History

self:
{
config,
lib,
...
2024-12-14 11:32:01 -06:00
}:
let
2022-12-30 21:12:07 +01:00
inherit (lib)
mkIf
;
cfg = config.programs.nixvim;
evalArgs = {
extraSpecialArgs = {
darwinConfig = config;
};
modules = [
./modules/darwin.nix
];
};
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
}