homelab/nixos/hosts/traefik/networking.nix
plasmagoat 0f49c6c37c
Some checks failed
Test / tests (push) Failing after 16m54s
/ OpenTofu (push) Successful in 17s
dump
2025-11-18 20:00:39 +01:00

19 lines
349 B
Nix

{
config,
lib,
pkgs,
...
}: {
networking.hostName = "traefik";
networking.interfaces.eth0.ipv4.addresses = [
{
address = "192.168.1.80";
prefixLength = 24;
}
];
networking.firewall.allowedTCPPorts = [80 443 8080 8082];
networking.nameservers = ["192.168.1.53"];
networking.defaultGateway = "192.168.1.1";
}