nanuqsaurus/modules/system/networking.nix
randogoth 816dd2b076 fix
2026-02-10 08:32:23 +02:00

15 lines
364 B
Nix

{ config, lib, ... }:
{
networking = {
useDHCP = lib.mkDefault true;
nftables.enable = true;
firewall = {
enable = true;
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
};
systemd.network.wait-online.enable = false;
boot.initrd.systemd.network.wait-online.enable = false;
}