diff --git a/nixosModules/networking/default.nix b/nixosModules/networking/default.nix index 4a64cb5..3a2f5b7 100644 --- a/nixosModules/networking/default.nix +++ b/nixosModules/networking/default.nix @@ -62,6 +62,7 @@ in allowedUDPPorts = [ ] ++ lib.optionals kc_cfg.services.k3s.enable [ + 7946 8472 ] ++ lib.optionals kc_cfg.services.nfs.enable [ @@ -77,6 +78,7 @@ in 2379 2380 6443 + 7946 10250 ] ++ lib.optionals kc_cfg.services.nfs.enable [ diff --git a/nixosModules/services/nfs/default.nix b/nixosModules/services/nfs/default.nix index cd73db0..b416755 100644 --- a/nixosModules/services/nfs/default.nix +++ b/nixosModules/services/nfs/default.nix @@ -25,7 +25,7 @@ in services.nfs.server = { enable = true; 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; lockdPort = 4001;