From 3ad9452637e5dd8e7652ad8375ccbbaf3701d568 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 11 Jul 2025 10:35:38 +0200 Subject: [PATCH] Disable root_squash from NFS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows root to read files in the NFS export, so we can directly run `nixos-rebuild switch` from /home. Reviewed-by: Aleix Boné --- m/apex/nfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m/apex/nfs.nix b/m/apex/nfs.nix index e245549..84d9555 100644 --- a/m/apex/nfs.nix +++ b/m/apex/nfs.nix @@ -7,7 +7,7 @@ mountdPort = 4002; statdPort = 4000; exports = '' - /home 10.0.40.0/24(rw,sync,no_subtree_check,root_squash) + /home 10.0.40.0/24(rw,sync,no_subtree_check,no_root_squash) ''; }; networking.firewall = {