forked from jan-leila/nix-config
		
	updated nfs config for twilight
This commit is contained in:
		
							parent
							
								
									2ea0592c64
								
							
						
					
					
						commit
						1695983742
					
				
					 1 changed files with 38 additions and 5 deletions
				
			
		|  | @ -25,6 +25,8 @@ | ||||||
|       systemd-boot.enable = true; |       systemd-boot.enable = true; | ||||||
|       efi.canTouchEfiVariables = true; |       efi.canTouchEfiVariables = true; | ||||||
|     }; |     }; | ||||||
|  | 
 | ||||||
|  |     supportedFilesystems = ["nfs"]; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   services.xserver = { |   services.xserver = { | ||||||
|  | @ -48,21 +50,52 @@ | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     "/mnt/leyla_documents" = { |     "/mnt/leyla_documents" = { | ||||||
|       device = "defiant:/exports/leyla"; |       device = "defiant:/exports/leyla_documents"; | ||||||
|       fsType = "nfs"; |       fsType = "nfs"; | ||||||
|       options = ["x-systemd.automount" "user" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"]; |       options = [ | ||||||
|  |         "x-systemd.automount" | ||||||
|  |         "noauto" | ||||||
|  |         "user" | ||||||
|  |         "noatime" | ||||||
|  |         "nofail" | ||||||
|  |         "soft" | ||||||
|  |         "x-systemd.idle-timeout=600" | ||||||
|  |         "fsc" | ||||||
|  |       ]; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     "/mnt/users_documents" = { |     "/mnt/users_documents" = { | ||||||
|       device = "defiant:/exports/users"; |       device = "defiant:/exports/users_documents"; | ||||||
|       fsType = "nfs"; |       fsType = "nfs"; | ||||||
|       options = ["x-systemd.automount" "user" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"]; |       options = [ | ||||||
|  |         "x-systemd.automount" | ||||||
|  |         "noauto" | ||||||
|  |         "user" | ||||||
|  |         "nofail" | ||||||
|  |         "soft" | ||||||
|  |         "x-systemd.idle-timeout=600" | ||||||
|  |         "fsc" | ||||||
|  |       ]; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     "/mnt/media" = { |     "/mnt/media" = { | ||||||
|       device = "defiant:/exports/media"; |       device = "defiant:/exports/media"; | ||||||
|       fsType = "nfs"; |       fsType = "nfs"; | ||||||
|       options = ["x-systemd.automount" "noauto" "user" "noatime" "nofail" "soft" "x-systemd.idle-timeout=600" "fsc"]; |       options = [ | ||||||
|  |         "x-systemd.automount" | ||||||
|  |         "noauto" | ||||||
|  |         "user" | ||||||
|  |         "noatime" | ||||||
|  |         "nofail" | ||||||
|  |         "soft" | ||||||
|  |         "x-systemd.idle-timeout=600" | ||||||
|  |         "noatime" | ||||||
|  |         "nodiratime" | ||||||
|  |         "relatime" | ||||||
|  |         "rsize=32768" | ||||||
|  |         "wsize=32768" | ||||||
|  |         "fsc" | ||||||
|  |       ]; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue