Update Hydra configuration; update quick-deployment alias
This commit is contained in:
		
							
								
								
									
										19
									
								
								flake.nix
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								flake.nix
									
									
									
									
									
								
							| @ -16,7 +16,7 @@ | ||||
|         buildInputs = | ||||
|           [ (pkgs.nixos { }).nixos-rebuild pkgs.terraform pkgs.sops ]; | ||||
|         shellHook = | ||||
|           "	alias sops-deploy=\"nixos-rebuild switch --target-host root@matri.cx --build-host root@matri.cx --flake .#eve-psr-nix0\"\n"; | ||||
|           "	alias deploy=\"nixos-rebuild switch --target-host root@matri.cx --build-host root@matri.cx --flake .#eve-psr-nix0\"\n"; | ||||
|       }; | ||||
|       nixosConfigurations = { | ||||
|         eve-psr-nix0 = nixpkgs.lib.nixosSystem { | ||||
| @ -39,7 +39,7 @@ | ||||
|               networking = { | ||||
|                 hostName = "eve-psr-nix0"; | ||||
|                 firewall = { | ||||
|                   allowedTCPPorts = [ 22 80 443 ]; | ||||
|                   allowedTCPPorts = [ 22 80 443 3034 ]; | ||||
|                   allowedUDPPorts = [ 22 80 443 ]; | ||||
|                 }; | ||||
|               }; | ||||
| @ -49,10 +49,19 @@ | ||||
|               services = { | ||||
|                 hydra = { | ||||
|                   enable = true; | ||||
|                   hydraURL = "http://localhost:3000"; | ||||
|                   notificationSender = "hydra@eversole.co"; | ||||
|                   buildMachinesFiles = []; | ||||
|                   hydraURL = "https://hydra.matri.cx"; | ||||
|                   listenHost = "192.168.0.130"; | ||||
|                   port = 3034; | ||||
|  | ||||
|                   extraConfig = '' | ||||
|                     using_frontend_proxy = 1 | ||||
|                     base_uri = "https://hydra.matri.cx" | ||||
|                   ''; | ||||
|  | ||||
|                   useSubstitutes = true; | ||||
|  | ||||
|                   notificationSender = "hydra@matri.cx"; | ||||
|                   buildMachinesFiles = []; | ||||
|                 }; | ||||
|                 openssh.enable = true; | ||||
|               }; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user