ctucx.git: nixfiles

ctucx' nixfiles

commit 2235f30fd3e914483edb28e92e562d81bdbfa34f
parent 77d3931ea2e25acacb4a821b76f34fdfb830a3af
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 16 Jan 2023 13:02:46 +0100

machines/lollo: increase size of root-tempfs to 10G, open port for iperf3
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/machines/lollo/configuration.nix b/machines/lollo/configuration.nix
@@ -138,6 +138,8 @@
     "/nix/persist/etc/ssh/ssh_host_ed25519_key"
   ];
 
+  networking.firewall.allowedTCPPorts = [ 5201 ];
+  networking.firewall.allowedUDPPorts = [ 5201 ];
 
   services.email-notify.enable = true;
 
diff --git a/machines/lollo/hardware-configuration.nix b/machines/lollo/hardware-configuration.nix
@@ -18,7 +18,7 @@
   fileSystems."/" = {
     device = "tmpfs";
     fsType = "tmpfs";
-    options = [ "size=2G" "mode=755" ];
+    options = [ "size=10G" "mode=755" ];
   };
 
   fileSystems."/home/leah" = {