2025-01-22 13:35:09 +10:00
|
|
|
{ inputs, ... }:
|
2020-01-22 12:37:13 +01:00
|
|
|
{
|
2019-08-10 12:43:48 +01:00
|
|
|
imports = [
|
2024-12-04 12:33:29 +10:00
|
|
|
inputs.self.nixosModules.cgroups
|
2023-07-01 13:32:28 +10:00
|
|
|
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
|
2021-03-04 06:24:57 +01:00
|
|
|
];
|
2019-08-10 12:43:48 +01:00
|
|
|
|
2024-11-21 17:31:14 +10:00
|
|
|
nix.settings.max-jobs = 24;
|
|
|
|
|
2024-10-12 14:34:11 +10:00
|
|
|
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" ];
|
2024-11-04 08:57:49 +10:00
|
|
|
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";
|
2019-08-10 12:43:48 +01:00
|
|
|
|
2023-12-02 13:47:36 +10:00
|
|
|
system.stateVersion = "23.11";
|
2019-08-10 12:43:48 +01:00
|
|
|
}
|