soyouzpanda
0d7b4efbd3
Some checks failed
Check meta / check_meta (pull_request) Successful in 19s
Check meta / check_dns (pull_request) Successful in 58s
build configuration / build_compute01 (pull_request) Successful in 1m36s
build configuration / build_storage01 (pull_request) Successful in 1m35s
build configuration / build_web02 (pull_request) Successful in 1m28s
build configuration / build_vault01 (pull_request) Successful in 1m33s
build configuration / build_rescue01 (pull_request) Successful in 1m29s
lint / check (pull_request) Successful in 28s
build configuration / build_web01 (pull_request) Successful in 2m1s
build configuration / build_geo02 (pull_request) Successful in 1m19s
build configuration / build_geo01 (pull_request) Successful in 1m24s
build configuration / build_bridge01 (pull_request) Successful in 1m14s
build configuration / push_to_cache_compute01 (pull_request) Failing after 1m27s
build configuration / push_to_cache_web02 (pull_request) Failing after 1m27s
build configuration / push_to_cache_storage01 (pull_request) Failing after 1m36s
build configuration / push_to_cache_rescue01 (pull_request) Failing after 1m28s
build configuration / push_to_cache_geo02 (pull_request) Failing after 1m14s
build configuration / push_to_cache_web01 (pull_request) Failing after 1m54s
build configuration / push_to_cache_geo01 (pull_request) Failing after 1m15s
build configuration / push_to_cache_bridge01 (pull_request) Failing after 1m14s
build configuration / build_web02 (push) Successful in 1m46s
build configuration / build_rescue01 (push) Successful in 1m50s
build configuration / build_compute01 (push) Successful in 1m56s
build configuration / build_storage01 (push) Successful in 1m57s
build configuration / build_vault01 (push) Successful in 1m58s
build configuration / build_web01 (push) Successful in 2m25s
lint / check (push) Successful in 31s
build configuration / build_geo01 (push) Successful in 1m22s
build configuration / build_geo02 (push) Successful in 1m18s
build configuration / build_bridge01 (push) Successful in 1m16s
build configuration / push_to_cache_web02 (push) Successful in 1m48s
build configuration / push_to_cache_rescue01 (push) Successful in 1m47s
build configuration / push_to_cache_compute01 (push) Successful in 1m52s
build configuration / push_to_cache_geo01 (push) Successful in 1m24s
build configuration / push_to_cache_storage01 (push) Successful in 1m43s
build configuration / push_to_cache_geo02 (push) Successful in 1m23s
build configuration / push_to_cache_bridge01 (push) Successful in 1m21s
build configuration / push_to_cache_web01 (push) Failing after 2m33s
32 lines
597 B
Nix
32 lines
597 B
Nix
{ 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
|
|
];
|
|
}
|