mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-06 12:59:22 +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"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
"auto-allocate-uids"
|
"auto-allocate-uids"
|
||||||
"ca-derivations"
|
|
||||||
"cgroups"
|
"cgroups"
|
||||||
"dynamic-derivations"
|
|
||||||
"fetch-closure"
|
"fetch-closure"
|
||||||
"impure-derivations"
|
"impure-derivations"
|
||||||
"no-url-literals"
|
"no-url-literals"
|
||||||
"recursive-nix"
|
|
||||||
];
|
];
|
||||||
auto-allocate-uids = true;
|
auto-allocate-uids = true;
|
||||||
use-cgroups = true;
|
use-cgroups = true;
|
||||||
|
@ -57,6 +54,10 @@ in
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
download-attempts = 1;
|
download-attempts = 1;
|
||||||
fallback = true;
|
fallback = true;
|
||||||
|
allowed-uris = [
|
||||||
|
"github:"
|
||||||
|
"gitlab:"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
buildMachines =
|
buildMachines =
|
||||||
let
|
let
|
||||||
|
|
|
@ -182,6 +182,15 @@ in
|
||||||
initialPassword = "backupPassword";
|
initialPassword = "backupPassword";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.hydra = {
|
||||||
|
enable = true;
|
||||||
|
hydraURL = "https://hydra.missing.ninja";
|
||||||
|
notificationSender = "hydra@missing.ninja";
|
||||||
|
buildMachinesFiles = [];
|
||||||
|
useSubstitutes = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
vdb = {
|
vdb = {
|
||||||
|
|
|
@ -55,6 +55,11 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/".proxyPass = "http://localhost:8080";
|
locations."/".proxyPass = "http://localhost:8080";
|
||||||
};
|
};
|
||||||
|
"hydra.missing.ninja" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".proxyPass = "http://localhost:3000";
|
||||||
|
};
|
||||||
"ci.missing.ninja" = {
|
"ci.missing.ninja" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue