infra/hosts/build04/default.nix

27 lines
722 B
Nix
Raw Normal View History

2023-05-16 09:53:27 +10:00
{ inputs, ... }:
2021-08-17 20:31:59 +02:00
{
imports = [
inputs.self.nixosModules.cgroups
2024-11-21 12:51:20 +10:00
inputs.self.nixosModules.ci-builder
inputs.self.nixosModules.disko-zfs
2023-05-17 07:21:20 +10:00
inputs.self.nixosModules.hercules-ci
inputs.self.nixosModules.remote-builder
2024-11-21 12:51:20 +10:00
inputs.srvos.nixosModules.hardware-hetzner-online-arm
2021-08-17 20:31:59 +02:00
];
2024-11-21 17:31:14 +10:00
nix.settings.max-jobs = 80;
nixpkgs.hostPlatform.gcc.arch = "armv8-a";
2024-08-19 09:44:40 +10:00
# error: failed to start SSH connection
# https://github.com/nix-community/infra/issues/1416
services.openssh.settings.MaxStartups = 100;
2024-07-25 18:41:00 +10:00
# set in srvos, remove when reinstalling
networking.hostId = "deadbeef";
2023-12-14 09:39:50 +10:00
system.stateVersion = "23.11";
2023-08-18 00:11:18 +10:00
2023-12-14 09:39:50 +10:00
systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3051:3962::2";
2021-08-17 20:31:59 +02:00
}