infra/build02/configuration.nix

30 lines
716 B
Nix
Raw Normal View History

2022-12-31 07:24:17 +01:00
{ ... }:
{
imports = [
../roles/common.nix
../roles/hetzner/amd.nix
../roles/hetzner/network.nix
../roles/nginx.nix
2021-12-26 07:44:39 +01:00
../roles/raid.nix
2022-10-18 11:02:47 +10:00
../roles/remote-builder/aarch64-build04.nix
];
2022-11-09 10:28:59 +01:00
# We often see evals going out-of-memory. So let's try zram swap
zramSwap.enable = true;
# /boot is a mirror raid
boot.loader.grub.devices = [ "/dev/nvme0n1" "/dev/nvme1n1" ];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
2022-08-13 11:13:06 +02:00
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";
}