added attic to buildbot
This commit is contained in:
		
							parent
							
								
									88873083d5
								
							
						
					
					
						commit
						65c58a00bb
					
				
					 3 changed files with 7 additions and 2 deletions
				
			
		|  | @ -25,6 +25,8 @@ | |||
|     colmena.url = "github:zhaofengli/colmena"; | ||||
|     colmena.inputs.nixpkgs.follows = "nixpkgs"; | ||||
| 
 | ||||
|     attic.url = "github:zhaofengli/attic"; | ||||
| 
 | ||||
|     srvos.url = "github:numtide/srvos"; | ||||
|     # actually not used when using the modules but than nothing ever will try to fetch this nixpkgs variant | ||||
|     srvos.inputs.nixpkgs.follows = "nixpkgs"; | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| { lib, pkgs, config, ... }: | ||||
| { lib, pkgs, config, inputs, ... }: | ||||
| with lib; | ||||
| let | ||||
|   cfg = config.luj.buildbot; | ||||
|  | @ -12,6 +12,7 @@ in | |||
|   #buildbot worker | ||||
| 
 | ||||
|   nix.settings.allowed-users = [ "buildbot-worker" ]; | ||||
|   nix.settings.trusted-users = [ "buildbot-worker" ]; | ||||
|   users.users.buildbot-worker = { | ||||
|     description = "Buildbot Worker User."; | ||||
|     isSystemUser = true; | ||||
|  | @ -33,6 +34,7 @@ in | |||
|       pkgs.gh | ||||
|       pkgs.nix | ||||
|       pkgs.nix-output-monitor | ||||
|       inputs.attic.packages.x86_64-linux.attic | ||||
|     ]; | ||||
|     environment.PYTHONPATH = "${python.withPackages (_: [package])}/${python.sitePackages}"; | ||||
|     environment.MASTER_URL = ''TCP:2a01\\:e34\\:ec2a\\:8e60\\:8ec7\\:b5d2\\:f663\\:a67a:9989''; | ||||
|  |  | |||
|  | @ -1,10 +1,11 @@ | |||
| { pkgs, ... }: { | ||||
| { pkgs, inputs, ... }: { | ||||
|   # this extends the list from: | ||||
|   # https://github.com/numtide/srvos/blob/master/server.nix#L10 | ||||
|   environment.systemPackages = with pkgs; [ | ||||
|     socat | ||||
|     whois | ||||
| 
 | ||||
|     inputs.attic.packages.x86_64-linux.attic | ||||
|     jq | ||||
|     psmisc | ||||
|     libarchive | ||||
|  |  | |||
		Reference in a new issue