Add builder user to hydra for remote building
This commit is contained in:
		
					parent
					
						
							
								469d682374
							
						
					
				
			
			
				commit
				
					
						3b821b9320
					
				
			
		
					 1 changed files with 11 additions and 1 deletions
				
			
		| 
						 | 
					@ -21,8 +21,18 @@
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  users.users.builder = {
 | 
				
			||||||
 | 
					    isNormalUser = true;
 | 
				
			||||||
 | 
					    openssh.authorizedKeys.keys = [
 | 
				
			||||||
 | 
					      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKeIiHkHA5c6/jZx+BB28c5wchdzlFI7R1gbvNmPyoOg root@kiara"
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  nix = {
 | 
					  nix = {
 | 
				
			||||||
    settings.allowed-uris = "http:// https://";
 | 
					    settings = {
 | 
				
			||||||
 | 
					      trusted-users = [ "builder" ];
 | 
				
			||||||
 | 
					      allowed-uris = "http:// https://";
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
    buildMachines = [
 | 
					    buildMachines = [
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        hostName = "localhost";
 | 
					        hostName = "localhost";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue