]> gitweb.ps.run Git - flake_thinkpad/blobdiff - config-networking.nix
separate
[flake_thinkpad] / config-networking.nix
diff --git a/config-networking.nix b/config-networking.nix
new file mode 100644 (file)
index 0000000..40ac1f8
--- /dev/null
@@ -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 ];
+}