Disable root_squash from NFS

Allows root to read files in the NFS export, so we can directly run
`nixos-rebuild switch` from /home.
This commit is contained in:
2025-07-11 10:35:38 +02:00
parent 6947ccb853
commit 3df9a41e8f

View File

@@ -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 = {