X-Git-Url: https://gitweb.ps.run/flake_thinkpad/blobdiff_plain/89c4e40e6dd442e788e471acf12b7fe645be4bda..7c6631e307cb5e6848200f3b6c3421fae08d8e23:/config-networking.nix?ds=sidebyside diff --git a/config-networking.nix b/config-networking.nix new file mode 100644 index 0000000..40ac1f8 --- /dev/null +++ b/config-networking.nix @@ -0,0 +1,9 @@ +{ config, pkgs, inputs, lib, ... } @ args: +{ + networking.nftables.enable = true; + networking.hostName = "thinkpad"; # Define your hostname. + # Enable networking + # networking.networkmanager.enable = true; + networking.firewall.allowedTCPPorts = [ 22 1234 5900 6011 6021 6022 8080 53317 7236 7250 ]; + networking.firewall.allowedUDPPorts = [ 5901 53317 7236 5353 ]; +}