Skip to content

Commit

Permalink
host(bocchi): enable hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
soopyc committed May 8, 2024
1 parent 786b032 commit 63ac48f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions systems/bocchi/services/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{...}: {
imports = [
./hydra.nix
./nginx.nix
];
}
17 changes: 17 additions & 0 deletions systems/bocchi/services/hydra.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{_utils, ...}: {
services.hydra = {
enable = true;
listenHost = "127.0.0.1";
useSubstitutes = true;
hydraURL = "https://hydra.soopy.moe";
notificationSender = "[email protected]";
smtpHost = "mail.soopy.moe";
};

services.nginx.virtualHosts."hydra.soopy.moe" = _utils.mkSimpleProxy {
port = 3000;
extraConfig = {
useACMEHost = "bocchi.c.soopy.moe";
};
};
}

0 comments on commit 63ac48f

Please sign in to comment.