Add frotting nfs mount

This commit is contained in:
xqtc161 2024-06-16 01:58:11 +02:00
parent 16f45f8e48
commit 5dea678ae1

View file

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