Add onActivation settings to aarch64-darwin/m4
Introduce 'cleanup', 'autoUpdate', and 'upgrade' options under the onActivation section for improved manageability. Additionally, remove unused homebrew configuration from modules/darwin/nix/default.nix.
This commit is contained in:
		
							parent
							
								
									3390c39901
								
							
						
					
					
						commit
						8629411382
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		|  | @ -24,11 +24,6 @@ in | |||
|       nix-prefetch-git | ||||
|     ]; | ||||
| 
 | ||||
|     homebrew = { | ||||
|       enable = true; | ||||
|       onActivation.autoUpdate = false; | ||||
|     }; | ||||
| 
 | ||||
|     nix = | ||||
|       let | ||||
|         users = [ | ||||
|  |  | |||
|  | @ -10,6 +10,11 @@ with lib.metacfg; | |||
|       "mas" | ||||
|     ]; | ||||
|     masApps = { }; | ||||
|     onActivation = { | ||||
|         cleanup = "zap"; | ||||
|         autoUpdate = true; | ||||
|         upgrade = true; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   metacfg = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue