refactor file structure

This commit is contained in:
Joakim Repomaa
2025-02-02 20:24:07 +02:00
parent 908b26449d
commit a201aa2de0
29 changed files with 5 additions and 5 deletions

21
hosts/freun.dev/hydra.nix Normal file
View File

@@ -0,0 +1,21 @@
{ ... }:
let
fqdn = "ci.freun.dev";
port = 3400;
in
{
services.hydra = {
enable = true;
hydraURL = "https://${fqdn}";
notificationSender = "Hydra <noreply@freun.dev>";
buildMachinesFiles = [];
useSubstitutes = true;
inherit port;
};
services.caddy.virtualHosts = {
"${fqdn}".extraConfig = ''
reverse_proxy localhost:${builtins.toString port}
'';
};
}