2023-07-17 13:53:06 +10:00
|
|
|
{ inputs, ... }:
|
2023-05-16 18:58:13 +10:00
|
|
|
|
2023-07-17 13:53:06 +10:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
inputs.self.darwinModules.common
|
2023-09-07 12:47:33 +10:00
|
|
|
inputs.self.darwinModules.builder
|
2023-07-17 13:53:06 +10:00
|
|
|
inputs.self.darwinModules.hercules-ci
|
2023-09-06 10:14:00 +10:00
|
|
|
inputs.self.darwinModules.remote-builder
|
2023-07-17 13:53:06 +10:00
|
|
|
];
|
2023-05-16 18:58:13 +10:00
|
|
|
|
2023-11-20 09:30:26 +10:00
|
|
|
# can be removed when we switch back to the nixpkgs hercules-ci-agent
|
|
|
|
system.systemBuilderArgs.sandboxProfile = ''
|
|
|
|
(allow file-read* file-write* process-exec mach-lookup (subpath "${builtins.storeDir}"))
|
|
|
|
'';
|
|
|
|
|
2023-05-16 18:58:13 +10:00
|
|
|
nix.settings.sandbox = "relaxed";
|
|
|
|
nix.settings.extra-platforms = [ "x86_64-darwin" ];
|
|
|
|
|
2023-06-11 12:53:38 +10:00
|
|
|
# disable nixos-tests
|
|
|
|
nix.settings.system-features = [ "big-parallel" ];
|
|
|
|
|
2023-05-16 18:58:13 +10:00
|
|
|
networking.hostName = "darwin02";
|
|
|
|
|
|
|
|
system.stateVersion = 4;
|
|
|
|
}
|