diff --git a/ci-root.nix b/ci-root.nix index a0b7a3a2f9..5b066be226 100644 --- a/ci-root.nix +++ b/ci-root.nix @@ -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; }; diff --git a/ops/nix-darwin/default.nix b/ops/nix-darwin/default.nix index 8302c4a032..42984c6ed1 100644 --- a/ops/nix-darwin/default.nix +++ b/ops/nix-darwin/default.nix @@ -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); +}