mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: zfs volumes and allow ports for iperf
This commit is contained in:
parent
48ca8a3495
commit
e9dd877b77
1 changed files with 26 additions and 11 deletions
|
|
@ -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";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue