mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 23:23:55 +01:00
Add frotting nfs mount
This commit is contained in:
parent
16f45f8e48
commit
5dea678ae1
|
@ -16,7 +16,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [2049 /* 4000 4001 4002 20048 */];
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
2049
|
||||||
|
/*
|
||||||
|
4000 4001 4002 20048
|
||||||
|
*/
|
||||||
|
];
|
||||||
networking.firewall.extraInputRules = ''
|
networking.firewall.extraInputRules = ''
|
||||||
iifname wg0 ip6 saddr { 2a0f:be01:0:100::/64, 2a0f:be01:0:200::/64, 2a0f:be01:fe:f00::/56 } tcp dport { 2049 } accept
|
iifname wg0 ip6 saddr { 2a0f:be01:0:100::/64, 2a0f:be01:0:200::/64, 2a0f:be01:fe:f00::/56 } tcp dport { 2049 } accept
|
||||||
'';
|
'';
|
||||||
|
@ -34,5 +39,10 @@
|
||||||
device = "/home/xqtc/jellyfin/music";
|
device = "/home/xqtc/jellyfin/music";
|
||||||
options = ["bind"];
|
options = ["bind"];
|
||||||
};
|
};
|
||||||
|
"/mnt/frotting" = {
|
||||||
|
device = "[2a0f:be01:0:200::211]:/";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = ["nfsvers=4.2"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue