From e9dd877b7782b9515a09b83aced6b37f2f29cbce Mon Sep 17 00:00:00 2001 From: Ahwx Date: Tue, 5 Aug 2025 20:56:02 +0200 Subject: [PATCH] fix: `zfs` volumes and allow ports for `iperf` --- hosts/dandelion/default.nix | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/hosts/dandelion/default.nix b/hosts/dandelion/default.nix index afee27e..70aae74 100644 --- a/hosts/dandelion/default.nix +++ b/hosts/dandelion/default.nix @@ -40,6 +40,15 @@ ]; }; + networking.firewall = { + allowedTCPPorts = [ + 5201 + ]; + allowedUDPPorts = [ + 5201 + ]; + }; + environment.systemPackages = with pkgs; [ kitty.terminfo zfs @@ -60,16 +69,22 @@ trim.enable = true; }; - boot.zfs.extraPools = [ "spinners" ]; + boot.zfs.extraPools = [ + "spinners" + ]; - fileSystems = { - "/spinners/rootvol" = { - device = "terrabite/rootvol"; - fsType = "zfs"; - }; - "/spinners/ahwx" = { - device = "terrabite/ahwx"; - fsType = "zfs"; - }; - }; + # fileSystems = { + # "/spinners/rootvol" = { + # device = "spinners/rootvol"; + # fsType = "zfs"; + # }; + # "/spinners/ahwx" = { + # device = "spinners/ahwx"; + # fsType = "zfs"; + # }; + # "/spinners/violet" = { + # device = "spinners/violet"; + # fsType = "zfs"; + # }; + # }; }