some tries to make it work

This commit is contained in:
Jakub Kropáček 2025-02-07 11:34:56 +01:00
parent 5d8f603193
commit b20ae104b8
2 changed files with 3 additions and 1 deletions

View file

@ -62,6 +62,7 @@ in
allowedUDPPorts = allowedUDPPorts =
[ ] [ ]
++ lib.optionals kc_cfg.services.k3s.enable [ ++ lib.optionals kc_cfg.services.k3s.enable [
7946
8472 8472
] ]
++ lib.optionals kc_cfg.services.nfs.enable [ ++ lib.optionals kc_cfg.services.nfs.enable [
@ -77,6 +78,7 @@ in
2379 2379
2380 2380
6443 6443
7946
10250 10250
] ]
++ lib.optionals kc_cfg.services.nfs.enable [ ++ lib.optionals kc_cfg.services.nfs.enable [

View file

@ -25,7 +25,7 @@ in
services.nfs.server = { services.nfs.server = {
enable = true; enable = true;
exports = '' exports = ''
${cfg.exportDirectory} ${cfg.clusterWildcard}(rw,sync,no_wdelay,no_root_squash,insecure) ${cfg.exportDirectory} ${cfg.clusterWildcard}(rw,sync,no_wdelay,no_root_squash,insecure,no_subtree_check)
''; '';
statdPort = 4000; statdPort = 4000;
lockdPort = 4001; lockdPort = 4001;