infra/hosts/darwin03/configuration.nix
2024-05-16 05:29:31 +00:00

23 lines
672 B
Nix

{ inputs, ... }:
{
imports = [
inputs.self.darwinModules.common
inputs.self.darwinModules.builder
inputs.self.darwinModules.hercules-ci
inputs.self.darwinModules.remote-builder
];
# 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";
nix.settings.sandbox = "relaxed";
nix.settings.extra-platforms = [ "x86_64-darwin" ];
# disable nixos-tests
nix.settings.system-features = [ "big-parallel" ];
networking.hostName = "darwin03";
system.stateVersion = 4;
}