mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-05 04:29:23 +02:00
enable hydra
This commit is contained in:
parent
f609b0212c
commit
295fe0f23d
4 changed files with 22 additions and 3 deletions
|
@ -88,5 +88,9 @@
|
|||
};
|
||||
}
|
||||
);
|
||||
hydraJobs = {
|
||||
inherit (self)
|
||||
packages formatter nixosConfigurations;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -41,13 +41,10 @@ in
|
|||
"nix-command"
|
||||
"flakes"
|
||||
"auto-allocate-uids"
|
||||
"ca-derivations"
|
||||
"cgroups"
|
||||
"dynamic-derivations"
|
||||
"fetch-closure"
|
||||
"impure-derivations"
|
||||
"no-url-literals"
|
||||
"recursive-nix"
|
||||
];
|
||||
auto-allocate-uids = true;
|
||||
use-cgroups = true;
|
||||
|
@ -57,6 +54,10 @@ in
|
|||
builders-use-substitutes = true;
|
||||
download-attempts = 1;
|
||||
fallback = true;
|
||||
allowed-uris = [
|
||||
"github:"
|
||||
"gitlab:"
|
||||
];
|
||||
};
|
||||
buildMachines =
|
||||
let
|
||||
|
|
|
@ -182,6 +182,15 @@ in
|
|||
initialPassword = "backupPassword";
|
||||
};
|
||||
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
hydraURL = "https://hydra.missing.ninja";
|
||||
notificationSender = "hydra@missing.ninja";
|
||||
buildMachinesFiles = [];
|
||||
useSubstitutes = true;
|
||||
};
|
||||
|
||||
|
||||
disko.devices = {
|
||||
disk = {
|
||||
vdb = {
|
||||
|
|
|
@ -55,6 +55,11 @@
|
|||
enableACME = true;
|
||||
locations."/".proxyPass = "http://localhost:8080";
|
||||
};
|
||||
"hydra.missing.ninja" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass = "http://localhost:3000";
|
||||
};
|
||||
"ci.missing.ninja" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue