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; [ environment.systemPackages = with pkgs; [
kitty.terminfo kitty.terminfo
zfs zfs
@ -60,16 +69,22 @@
trim.enable = true; trim.enable = true;
}; };
boot.zfs.extraPools = [ "spinners" ]; boot.zfs.extraPools = [
"spinners"
];
fileSystems = { # fileSystems = {
"/spinners/rootvol" = { # "/spinners/rootvol" = {
device = "terrabite/rootvol"; # device = "spinners/rootvol";
fsType = "zfs"; # fsType = "zfs";
}; # };
"/spinners/ahwx" = { # "/spinners/ahwx" = {
device = "terrabite/ahwx"; # device = "spinners/ahwx";
fsType = "zfs"; # fsType = "zfs";
}; # };
}; # "/spinners/violet" = {
# device = "spinners/violet";
# fsType = "zfs";
# };
# };
} }