infra/hosts/darwin02/configuration.nix

24 lines
672 B
Nix
Raw Normal View History

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
inputs.self.darwinModules.hercules-ci
inputs.self.darwinModules.remote-builder
2023-07-17 13:53:06 +10:00
];
2023-05-16 18:58:13 +10:00
# on nix-darwin if user is removed the keys need to be removed manually from /etc/ssh/authorized_keys.d
nixCommunity.remote-builder.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEmdo1x1QkRepZf7nSe+OdEWX+wOjkBLF70vX9F+xf68 builder";
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;
}