Compare commits
	
		
			2 commits
		
	
	
		
			7292e2f852
			...
			f7dd111761
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f7dd111761 | |||
| afeee8ff5e | 
					 3 changed files with 12 additions and 6 deletions
				
			
		|  | @ -11,6 +11,7 @@ in { | |||
|     inherit hostName; | ||||
| 
 | ||||
|     package = nextcloud; | ||||
|     enableBrokenCiphersForSSE = false; | ||||
|     enable = true; | ||||
|     maxUploadSize = "2G"; | ||||
|     https = true; | ||||
|  | @ -29,9 +30,11 @@ in { | |||
|       defaultPhoneRegion = "AT"; | ||||
|     }; | ||||
| 
 | ||||
|     phpOptions = { | ||||
|       "opcache.interned_strings_buffer" = "16"; | ||||
|     }; | ||||
|     phpOptions = | ||||
|       options.services.nextcloud.phpOptions.default | ||||
|       // { | ||||
|         "opcache.interned_strings_buffer" = "16"; | ||||
|       }; | ||||
| 
 | ||||
|     extraApps = { | ||||
|       inherit (pkgs.local) bookmarks calendar contacts cookbook news notes; | ||||
|  |  | |||
|  | @ -18,11 +18,15 @@ | |||
|     ensureUsers = [ | ||||
|       { | ||||
|         name = "grafana"; | ||||
|         ensureDBOwnership = true; | ||||
|         ensurePermissions = { | ||||
|           "DATABASE grafana" = "ALL PRIVILEGES"; | ||||
|         }; | ||||
|       } | ||||
|       { | ||||
|         name = "nextcloud"; | ||||
|         ensureDBOwnership = true; | ||||
|         ensurePermissions = { | ||||
|           "DATABASE nextcloud" = "ALL PRIVILEGES"; | ||||
|         }; | ||||
|       } | ||||
|     ]; | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,5 +5,4 @@ | |||
| fetchNextcloudApp { | ||||
|   url = source.src.url; | ||||
|   sha256 = source.src.sha256; | ||||
|   license = "unlicense"; # Blatant lie | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue