2024-11-20 05:46:40 +01:00
|
|
|
{ ... }:
|
2024-11-20 05:46:40 +01:00
|
|
|
{
|
|
|
|
boot.loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
device = "/dev/vda";
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.kernel.sysctl."net.ipv4.conf.all.forwarding" = true;
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "lifeline";
|
|
|
|
useDHCP = true;
|
|
|
|
firewall = {
|
2024-11-20 05:46:40 +01:00
|
|
|
enable = true;
|
2024-11-20 05:46:40 +01:00
|
|
|
allowedUDPPorts = [ 51820 ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.prometheus.exporters.node.enable = false;
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|