Nixos-Configuration/modules/nixos/common/incus.nix
Jermeiah S 7b152ccd16
All checks were successful
/ check (push) Successful in 57s
/ deploy (push) Has been skipped
fix: obliterate firewall interna;;y
2025-06-23 20:01:24 -04:00

34 lines
702 B
Nix

{
systemd.network = {
enable = true;
networks."50-eth0" = {
matchConfig.Name = "eth0";
networkConfig = {
DHCP = "ipv4";
IPv6AcceptRA = true;
};
linkConfig.RequiredForOnline = "routable";
};
};
networking = {
# firewall = {
firewall.enable = false;
# interfaces = {
# ygg0 = {
# allowedTCPPorts = [ 22 ];
# allowedUDPPorts = [ ];
# };
# };
# # Default deny policy for all interfaces (including ygg0)
# allowedTCPPorts = [ ];
# allowedUDPPorts = [ ];
# };
dhcpcd.enable = false;
useDHCP = false;
useHostResolvConf = false;
};
}