From b20ae104b887c6bb827e0fb0d3a9f6f625f8356b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Krop=C3=A1=C4=8Dek?= Date: Fri, 7 Feb 2025 11:34:56 +0100 Subject: [PATCH] some tries to make it work --- nixosModules/networking/default.nix | 2 ++ nixosModules/services/nfs/default.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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;