diff --git a/configs/nixos/plover/modules/services/firewall.nix b/configs/nixos/plover/modules/services/firewall.nix index 4f043d1a..ce276b6f 100644 --- a/configs/nixos/plover/modules/services/firewall.nix +++ b/configs/nixos/plover/modules/services/firewall.nix @@ -10,12 +10,12 @@ in config = lib.mkIf cfg.enable { networking = { nftables.enable = true; - domain = "foodogsquared.one"; firewall = { enable = true; - allowedTCPPorts = [ - 22 # Secure Shells. - ]; + + # Secure Shells + allowedTCPPorts = [ 22 ]; + allowedUDPPorts = [ 22 ]; }; }; }; diff --git a/configs/nixos/plover/modules/services/networking.nix b/configs/nixos/plover/modules/services/networking.nix index d5ad7afd..43870490 100644 --- a/configs/nixos/plover/modules/services/networking.nix +++ b/configs/nixos/plover/modules/services/networking.nix @@ -77,10 +77,8 @@ in domains = [ config.networking.domain ]; routes = lib.singleton { - routeConfig = { - Gateway = wan.ipv4Gateway; - GatewayOnLink = true; - }; + Gateway = wan.ipv4Gateway; + GatewayOnLink = true; }; linkConfig.RequiredForOnline = "routable";