fix: zfs volumes and allow ports for iperf

This commit is contained in:
Ahwx 2025-08-05 20:56:02 +02:00
parent 48ca8a3495
commit e9dd877b77

View file

@ -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";
# };
# };
}