Compare commits
	
		
			2 commits
		
	
	
		
			88d96f198b
			...
			bb3ffbbd90
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| bb3ffbbd90 | |||
| 0c5755d2f0 | 
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -4,7 +4,7 @@ | ||||||
|   options, |   options, | ||||||
|   ... |   ... | ||||||
| }: let | }: let | ||||||
|   nextcloud = pkgs.nextcloud26; |   nextcloud = pkgs.nextcloud27; | ||||||
|   hostName = "nextcloud.${config.services.nginx.domain}"; |   hostName = "nextcloud.${config.services.nginx.domain}"; | ||||||
| in { | in { | ||||||
|   services.nextcloud = { |   services.nextcloud = { | ||||||
|  | @ -16,6 +16,8 @@ in { | ||||||
|     maxUploadSize = "2G"; |     maxUploadSize = "2G"; | ||||||
|     https = true; |     https = true; | ||||||
| 
 | 
 | ||||||
|  |     configureRedis = true; | ||||||
|  | 
 | ||||||
|     config = { |     config = { | ||||||
|       overwriteProtocol = "https"; |       overwriteProtocol = "https"; | ||||||
| 
 | 
 | ||||||
|  | @ -37,12 +39,10 @@ in { | ||||||
|     extraApps = { |     extraApps = { | ||||||
|       inherit (pkgs.local) bookmarks calendar contacts cookbook news notes; |       inherit (pkgs.local) bookmarks calendar contacts cookbook news notes; | ||||||
|     }; |     }; | ||||||
| 
 |  | ||||||
|     # TODO(tlater): Add redis config. This will be much easier |  | ||||||
|     # starting with 22.11, since this will add an `extraOptions` where |  | ||||||
|     # the necessary redis config can go. |  | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |   services.redis.vmOverCommit = true; | ||||||
|  | 
 | ||||||
|   # Ensure that this service doesn't start before postgres is ready |   # Ensure that this service doesn't start before postgres is ready | ||||||
|   systemd.services.nextcloud-setup.after = ["postgresql.service"]; |   systemd.services.nextcloud-setup.after = ["postgresql.service"]; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue