diff --git a/hosts/glotzbert/configuration.nix b/hosts/glotzbert/configuration.nix index d5e6ee7d..af89d3b1 100644 --- a/hosts/glotzbert/configuration.nix +++ b/hosts/glotzbert/configuration.nix @@ -17,6 +17,8 @@ in [ # Include the results of the hardware scan. ./hardware-configuration.nix ../../lib/default-gateway.nix + ../../lib/hail.nix + ../../lib/hq.nix ]; # Use the systemd-boot EFI boot loader. diff --git a/hosts/pulsebert/configuration.nix b/hosts/pulsebert/configuration.nix index dbf7cbd1..c257794a 100644 --- a/hosts/pulsebert/configuration.nix +++ b/hosts/pulsebert/configuration.nix @@ -16,6 +16,7 @@ in { ../../lib/users.nix ../../lib/mpd.nix ../../lib/yggdrasil.nix + ../../lib/hail.nix ]; # Use the systemd-boot EFI boot loader. diff --git a/lib/hail.nix b/lib/hail.nix new file mode 100644 index 00000000..a4cd6c33 --- /dev/null +++ b/lib/hail.nix @@ -0,0 +1,7 @@ +{ config, ... }: { + + services.hail = { + enable = true; + hydraJobUri = "https://hydra.hq.c3d2.de/job/c3d2/hail/${config.networking.hostname}-activator;"; + }; +}