Commit 423cf8f286fc

Vincent Demeester <vincent@sbr.pm>
2019-06-14 14:48:13
machine/okinawa: use bridge networking (libvirt)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 43543ef
Changed files (1)
machine/okinawa.nix
@@ -6,10 +6,10 @@ with import ../assets/machines.nix; {
     cleanTmpDir = true;
   };
   networking = {
-    firewall = {
-      allowPing = true;
-      allowedTCPPorts = [ 5000 53 80 ];
-      allowedUDPPorts = [ 53 ];
+    firewall.enable = false; # we are in safe territory :D
+    bridges.br1.interfaces = [ "enp0s31f6" ];
+    interfaces.enp0s31f6 = {
+      useDHCP = true;
     };
   };
   profiles = {