1
0
Fork 0
forked from DGNum/lab-infra
lab-infra/machines/homebox01/homebox.nix
Constantin Gierczak--Galle 1f82719dcb feat(homebox01): init (#8)
Reviewed-on: DGNum/lab-infra#8
Co-authored-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
Co-committed-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
2024-12-06 14:29:26 +01:00

14 lines
307 B
Nix

{
services.homebox = {
enable = true;
settings = {
HBOX_OPTIONS_ALLOW_REGISTRATION = "false";
};
};
services.nginx.virtualHosts."homebox.cgiga.fr" = {
enableACME = true;
forceSSL = true;
serverAliases = [ ];
locations."/".proxyPass = "http://localhost:7745/";
};
}