chore(web01): Remove kahulm.nix

This commit is contained in:
Tom Hubrecht 2024-12-12 14:03:32 +01:00
parent b2bebdc20d
commit 630b7c0ffc
Signed by: thubrecht
SSH key fingerprint: SHA256:CYNvFo44Ar9qCNnWNnvJVhs0QXO9AZjOLlPeWcSij3Q

View file

@ -1,32 +0,0 @@
{ sources, config, ... }:
let
host = "kahulm.normalesup.eu";
port = 3009;
in
{
imports = [ (sources.kahulm + "/module.nix") ];
services.kahulm = {
inherit port;
enable = true;
baseUrl = "https://${host}";
sessionSecretFile = config.age.secrets.kahulm-session_secret.path;
};
services.nginx = {
enable = true;
virtualHosts.${host} = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${builtins.toString port}";
};
};
};
networking.firewall.allowedTCPPorts = [
80
443
];
}