Created
October 11, 2018 16:38
-
-
Save o1lo01ol1o/d2c4f16d6f5284de809c66d60ff52123 to your computer and use it in GitHub Desktop.
simple-hydra with hydra-master
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, lib, ...}: | |
{ | |
services.hydra.package = pkgs.hydra.overrideAttrs (o: { src = (pkgs.fetchFromGitHub { | |
owner = "nixos"; | |
repo = "hydra"; | |
rev = "e0f204f3da6245fbaf5cb9ef59568b775ddcb929"; | |
sha256 = "66002da8d68027b8a5edaf03bd81dd8b6327397311d71398776e1d3ef1ec96e1"; | |
}); | |
}); | |
imports = [ | |
/root/simple-hydra | |
<nixpkgs/nixos/modules/virtualisation/amazon-image.nix> | |
]; | |
ec2.hvm = true; | |
simple-hydra.enable = true; | |
simple-hydra.hostName = "hydra.example.org"; | |
simple-hydra.useNginx = false; | |
networking.firewall.allowedTCPPorts = [ 3000 ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment