infra/hosts/build01/default.nix

22 lines
569 B
Nix
Raw Normal View History

{ inputs, ... }:
2020-01-22 12:37:13 +01:00
{
imports = [
2024-12-04 12:33:29 +10:00
inputs.self.nixosModules.cgroups
inputs.self.nixosModules.community-builder
2024-11-21 12:51:20 +10:00
inputs.self.nixosModules.disko-zfs
inputs.srvos.nixosModules.hardware-hetzner-online-amd
];
2024-11-21 17:31:14 +10:00
nix.settings.max-jobs = 24;
nixpkgs.hostPlatform.gcc.arch = "znver2";
2023-01-05 10:17:46 +01:00
# Emulate riscv64 until we have proper builders
boot.binfmt.emulatedSystems = [ "riscv64-linux" ];
boot.binfmt.preferStaticEmulators = true;
2023-01-05 10:17:46 +01:00
2024-07-26 09:44:02 +10:00
systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3b:2946::1/64";
2023-12-02 13:47:36 +10:00
system.stateVersion = "23.11";
}