2024-07-25 19:35:27 +10:00
|
|
|
{ config, inputs, ... }:
|
2020-01-22 12:37:13 +01:00
|
|
|
{
|
2019-08-10 12:43:48 +01:00
|
|
|
imports = [
|
2023-05-16 09:53:27 +10:00
|
|
|
inputs.srvos.nixosModules.hardware-hetzner-online-amd
|
2023-05-17 07:21:20 +10:00
|
|
|
inputs.self.nixosModules.common
|
2024-04-07 08:15:25 +10:00
|
|
|
inputs.self.nixosModules.disko-zfs
|
2023-09-07 12:47:33 +10:00
|
|
|
inputs.self.nixosModules.builder
|
2023-07-01 13:32:28 +10:00
|
|
|
inputs.self.nixosModules.community-builder
|
2021-03-04 06:24:57 +01:00
|
|
|
];
|
2019-08-10 12:43:48 +01:00
|
|
|
|
2024-07-25 19:35:27 +10:00
|
|
|
# the default zpool import services somehow times out while this import works fine?
|
|
|
|
boot.initrd.systemd.services.zfs-import-zroot.serviceConfig.ExecStartPre = "${config.boot.zfs.package}/bin/zpool import -N -f zroot";
|
|
|
|
|
2023-01-05 10:17:46 +01:00
|
|
|
# Emulate riscv64 until we have proper builders
|
|
|
|
boot.binfmt.emulatedSystems = [ "riscv64-linux" ];
|
|
|
|
|
2022-08-13 11:13:06 +02:00
|
|
|
networking.hostName = "build01";
|
2019-08-10 12:43:48 +01:00
|
|
|
|
2023-12-02 13:47:36 +10:00
|
|
|
systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3a:3b16::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
|
|
|
}
|