Enable hydra on weasel

This commit is contained in:
Aleix Boné 2025-09-15 11:58:01 +02:00
parent 29c87a4bb9
commit 18bb0173be
No known key found for this signature in database
2 changed files with 14 additions and 0 deletions

View File

@ -5,6 +5,7 @@
../common/ssf.nix
../module/hut-substituter.nix
./virtualization.nix
./hydra.nix
];
# Select this using the ID to avoid mismatches

13
m/weasel/hydra.nix Normal file
View File

@ -0,0 +1,13 @@
{ config, ... }:
{
services.hydra = {
enable = true;
hydraURL = "http://localhost:3001"; # externally visible URL
notificationSender = "hydra@jungle.bsc.es"; # e-mail of Hydra service
port = 3001;
# a standalone Hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines
buildMachinesFiles = [ ];
# you will probably also want, otherwise *everything* will be built from scratch
useSubstitutes = true;
};
}