2024-11-20 05:46:39 +01:00
|
|
|
{ ... }:
|
|
|
|
{
|
2024-11-20 05:46:39 +01:00
|
|
|
boot = {
|
|
|
|
loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
device = "/dev/vda";
|
|
|
|
};
|
|
|
|
|
|
|
|
binfmt.emulatedSystems = [
|
|
|
|
"armv6l-linux"
|
|
|
|
"armv7l-linux"
|
|
|
|
"aarch64-linux"
|
|
|
|
];
|
2024-11-20 05:46:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "hydra";
|
2024-11-20 05:46:39 +01:00
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [ 8443 ];
|
|
|
|
};
|
2024-11-20 05:46:39 +01:00
|
|
|
};
|
|
|
|
|
2024-11-20 05:46:39 +01:00
|
|
|
nix = {
|
|
|
|
settings.allowed-uris = "http:// https://";
|
|
|
|
buildMachines = [
|
|
|
|
{
|
|
|
|
hostName = "localhost";
|
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"armv6l-linux"
|
|
|
|
"armv7l-linux"
|
|
|
|
"aarch64-linux"
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-11-20 05:46:39 +01:00
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|