refactor(ops/nixos): migrate to depot module arg
Previously the depot argument was provided as config.depot, but the "new way" of doing things (which is more like the args list provided in the rest of the depot) is to provide this as the "depot" NixOS module argument instead. Change-Id: Ib48b1c7c1bdff9c1eb0618c6cbacc22b651f5f98 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2763 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
		
							parent
							
								
									999f98436c
								
							
						
					
					
						commit
						b35e358eb5
					
				
					 15 changed files with 30 additions and 35 deletions
				
			
		|  | @ -13,10 +13,8 @@ let | |||
|     ln -s ${depot.ops.besadii}/bin/besadii $out/bin/post-command | ||||
|   ''; | ||||
| in lib.fix(self: { | ||||
|   inherit depot; | ||||
|   imports = [ | ||||
|     "${depot.depotPath}/ops/nixos/clbot.nix" | ||||
|     "${depot.depotPath}/ops/nixos/depot.nix" | ||||
|     "${depot.depotPath}/ops/nixos/irccat.nix" | ||||
|     "${depot.depotPath}/ops/nixos/monorepo-gerrit.nix" | ||||
|     "${depot.depotPath}/ops/nixos/panettone.nix" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue