yevaud: specify (non-boot-critical) zfs datasets with randomcat's module
Also moves forgejo state directory to the default location
This commit is contained in:
		
							parent
							
								
									8d2d55e4c4
								
							
						
					
					
						commit
						d1b974b86c
					
				
					 3 changed files with 5 additions and 10 deletions
				
			
		|  | @ -52,10 +52,14 @@ | |||
|   networking.firewall.allowedTCPPorts = [ 53 ]; | ||||
|   networking.firewall.allowedUDPPorts = [ 53 ]; | ||||
| 
 | ||||
|   randomcat.services.zfs.datasets = { | ||||
|     "rpool/state" = { mountpoint = "none"; }; | ||||
|     "rpool/state/forgejo" = { mountpoint = "/var/lib/forgejo"; }; | ||||
|   }; | ||||
| 
 | ||||
|   qenya.services.forgejo = { | ||||
|     enable = true; | ||||
|     domain = "git.qenya.tel"; | ||||
|     stateDir = "/data/forgejo"; | ||||
|   }; | ||||
| 
 | ||||
|   services.nginx = { | ||||
|  |  | |||
|  | @ -28,11 +28,6 @@ | |||
|       fsType = "zfs"; | ||||
|     }; | ||||
| 
 | ||||
|   fileSystems."/data/forgejo" = | ||||
|     { device = "rpool/forgejo"; | ||||
|       fsType = "zfs"; | ||||
|     }; | ||||
| 
 | ||||
|   fileSystems."/boot" = | ||||
|     { device = "/dev/disk/by-uuid/107D-5AB3"; | ||||
|       fsType = "vfat"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue