diff options
Diffstat (limited to '')
-rw-r--r-- | abbenay/hydra.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abbenay/hydra.nix b/abbenay/hydra.nix new file mode 100644 index 0000000..2669aec --- /dev/null +++ b/abbenay/hydra.nix @@ -0,0 +1,24 @@ +{ config, lib, pkgs, ... }: + +{ + services.hydra = { + enable = true; + hydraURL = "http://abbenay:3000"; + buildMachinesFiles = []; + useSubstitutes = true; + minimumDiskFree = 10; + notificationSender = "hydra@abbenay"; + }; + + nix.settings.allowed-uris = [ + "https:" + "ssh:" + "path:" + "http:" + ]; + + # required because of ancient state version defaulting to postgresql 11 + services.postgresql.package = pkgs.postgresql; + + networking.firewall.allowedTCPPorts = [ 3000 ]; +} |