From 3812470d2c97d0ee76e58c768244356d99005041 Mon Sep 17 00:00:00 2001 From: rocketcamel Date: Sun, 14 Dec 2025 14:42:54 -0800 Subject: [PATCH] fix: only participate in the mesh if in the list --- nix/modules/nfs-mesh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/modules/nfs-mesh.nix b/nix/modules/nfs-mesh.nix index 2291f8d..31b3849 100644 --- a/nix/modules/nfs-mesh.nix +++ b/nix/modules/nfs-mesh.nix @@ -74,7 +74,7 @@ in }; }; - config = lib.mkIf cfg.enable { + config = lib.mkIf (cfg.enable && lib.elem config.networking.hostName cfg.hosts) { boot.supportedFilesystems = [ "nfs" ]; services.rpcbind.enable = true;