forked from jan-leila/nix-config
		
	added more config for nfs mounts
This commit is contained in:
		
							parent
							
								
									f5c67b812f
								
							
						
					
					
						commit
						1e98b54454
					
				
					 6 changed files with 27 additions and 10 deletions
				
			
		|  | @ -57,7 +57,7 @@ in { | |||
|       # create any folders that we need to have for our exports | ||||
|       systemd.tmpfiles.rules = | ||||
|         [ | ||||
|           "d ${config.host.network_storage.export_directory} 2770 root root -" | ||||
|           "d ${config.host.network_storage.export_directory} 2775 root root -" | ||||
|         ] | ||||
|         ++ ( | ||||
|           builtins.map ( | ||||
|  |  | |||
|  | @ -38,8 +38,8 @@ | |||
|         services.nfs.server = { | ||||
|           enable = true; | ||||
|           exports = lib.strings.concatLines ( | ||||
|             builtins.map ( | ||||
|               directory: "${directory._directory} 100.64.0.0/10(rw,sync,no_subtree_check,crossmnt)" | ||||
|             lib.lists.imap0 ( | ||||
|               i: directory: "${directory._directory} 100.64.0.0/10(rw,sync,no_subtree_check,crossmnt,fsid=${builtins.toString i})" | ||||
|             ) | ||||
|             ( | ||||
|               builtins.filter ( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue