Compare commits
	
		
			No commits in common. "95b5d4b3bd879783cef39f4d50f902e55548313f" and "759a9c7c0c088b1e65d22500bd66ffbae71f70ae" have entirely different histories.
		
	
	
		
			95b5d4b3bd
			...
			759a9c7c0c
		
	
		
					 2 changed files with 10 additions and 18 deletions
				
			
		|  | @ -153,12 +153,7 @@ | ||||||
|   services.logrotate = { |   services.logrotate = { | ||||||
|     enable = true; |     enable = true; | ||||||
| 
 | 
 | ||||||
|     settings = |     settings = lib.mapAttrs' (virtualHost: _: | ||||||
|       { |  | ||||||
|         # Override the default, just keep fewer logs |  | ||||||
|         nginx.rotate = 6; |  | ||||||
|       } |  | ||||||
|       // lib.mapAttrs' (virtualHost: _: |  | ||||||
|       lib.nameValuePair "/var/log/nginx/${virtualHost}/access.log" { |       lib.nameValuePair "/var/log/nginx/${virtualHost}/access.log" { | ||||||
|         frequency = "daily"; |         frequency = "daily"; | ||||||
|         rotate = 2; |         rotate = 2; | ||||||
|  |  | ||||||
|  | @ -1,9 +1,6 @@ | ||||||
| {config, ...}: { | {config, ...}: { | ||||||
|   config.services.victoriametrics = { |   config.services.victoriametrics = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     extraOptions = [ |  | ||||||
|       "-storage.minFreeDiskSpaceBytes=5GB" |  | ||||||
|     ]; |  | ||||||
| 
 | 
 | ||||||
|     scrapeConfigs = { |     scrapeConfigs = { | ||||||
|       gitea = { |       gitea = { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue