infra/build02/configuration.nix
2022-08-13 18:02:08 +02:00

27 lines
660 B
Nix

{ config, pkgs, lib, ... }:
{
imports = [
../roles/common.nix
../roles/hardware/hetzner-amd.nix
../roles/hetzner-network.nix
../roles/hercules-ci
../roles/nginx.nix
../roles/raid.nix
../roles/aarch64-builder.nix
];
# /boot is a mirror raid
boot.loader.grub.devices = [ "/dev/nvme0n1" "/dev/nvme1n1" ];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
networking.hostName = "build02";
networking.hostId = "af9ccc71";
networking.useDHCP = false;
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
networking.nix-community.ipv6.address = "2a01:4f9:4a:2b02::1";
system.stateVersion = "20.09";
}