Disable root_squash from NFS
Allows root to read files in the NFS export, so we can directly run `nixos-rebuild switch` from /home. Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
		
							parent
							
								
									16ada09600
								
							
						
					
					
						commit
						2280635cd6
					
				| @ -7,7 +7,7 @@ | |||||||
|     mountdPort = 4002; |     mountdPort = 4002; | ||||||
|     statdPort = 4000; |     statdPort = 4000; | ||||||
|     exports = '' |     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 = { |   networking.firewall = { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user