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; [
|
||||
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";
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue