nix-infra/config/hosts/lifeline/configuration.nix

23 lines
384 B
Nix
Raw Normal View History

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;
allowedUDPPorts = [ 51820 ];
};
};
services.prometheus.exporters.node.enable = false;
system.stateVersion = "23.05";
}