mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 20:53:54 +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 = ''
|
||||
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";
|
||||
options = ["bind"];
|
||||
};
|
||||
"/mnt/frotting" = {
|
||||
device = "[2a0f:be01:0:200::211]:/";
|
||||
fsType = "nfs";
|
||||
options = ["nfsvers=4.2"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue