yt-dlp: limit file length
[julm/julm-nix.git] / hosts / aubergine / networking.nix
index 8ba9d42a3be950720b7bfcae15f097c01608d29f..f848a9cc371497fd01bdc140be78e550c1ebf5c3 100644 (file)
@@ -20,6 +20,10 @@ with (import networking/names-and-numbers.nix);
   boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
   networking.nftables.ruleset = mkAfter ''
     table inet filter {
+      chain forward-to-lan {
+        #jump forward-connectivity
+        counter accept
+      }
       chain forward-to-net {
         #jump forward-connectivity
         counter accept
@@ -34,6 +38,7 @@ with (import networking/names-and-numbers.nix);
     }
   '';
 
+  networking.networkmanager.enable = true;
   services.avahi.enable = true;
   services.avahi.openFirewall = true;
   services.avahi.publish.enable = true;
@@ -48,6 +53,8 @@ with (import networking/names-and-numbers.nix);
     "${wifiIPv4}.1:53"
   ];
 
+  services.openssh.settings.X11Forwarding = true;
+
   services.vnstat.enable = true;
 
   systemd.services.sshd.serviceConfig.LoadCredentialEncrypted = [