ci-root: add nix-darwin bits

This commit is contained in:
Luke Granger-Brown 2024-10-13 19:35:07 +01:00
parent b39f860892
commit 874f4147d9
2 changed files with 6 additions and 2 deletions

View file

@ -43,6 +43,7 @@ let
pkgs = builtins.removeAttrs x86_64-linux.pkgs [ "lutris" "plex-pass" "sheepshaver" "fr24feed" "javaws-env" "copybara" ];
};
x86_64-darwin = {
machine = depot.ops.nix-darwin.systems;
home-manager = {
inherit (depot.ops.home-manager-ext.built) base client;
};

View file

@ -27,5 +27,8 @@
allEvaledSystems = mapAttrs systemFor systemCfgs;
evaledSystems = lib.filterAttrs (n: v: v.config.my.systemType == system) allEvaledSystems;
systemDrvs = mapAttrs (_: sys: sys.config.system.build.toplevel) evaledSystems;
in
systemDrvs
in systemDrvs // {
systems = systemDrvs;
systemConfigs = allEvaledSystems;
systemPathJSON = pkgs.writeText "systems.json" (builtins.toJSON systemDrvs);
}