Compare commits

..

1 Commits

Author SHA1 Message Date
h7x4
843f8d6a02 bekkalokk/alps: init 2025-12-30 22:40:56 +09:00
3 changed files with 24 additions and 5 deletions

View File

@@ -5,6 +5,7 @@
(fp /base) (fp /base)
./services/alps.nix
./services/bluemap.nix ./services/bluemap.nix
./services/idp-simplesamlphp ./services/idp-simplesamlphp
./services/kerberos.nix ./services/kerberos.nix

View File

@@ -0,0 +1,22 @@
{ config, lib, ... }:
let
cfg = config.services.alps;
in
{
services.alps = {
enable = true;
theme = "sourcehut";
smtps.host = "smtp.pvv.ntnu.no";
imaps.host = "imap.pvv.ntnu.no";
bindIP = "127.0.0.1";
};
services.nginx.virtualHosts."alps.pvv.ntnu.no" = lib.mkIf cfg.enable {
enableACME = true;
forceSSL = true;
kTLS = true;
locations."/" = {
proxyPass = "http://${cfg.bindIP}:${toString cfg.port}";
};
};
}

View File

@@ -58,11 +58,7 @@ in {
max-y = 90; max-y = 90;
}]; }];
marker-sets = { marker-sets = {
_includes = [ (format.lib.mkInclude { _includes = [ (format.lib.mkInclude "${bluemap-export}/nether.hocon") ];
required = true;
type = "file";
value = "${bluemap-export}/nether.hocon";
}) ];
}; };
}; };
}; };