6f5fdb0317
This adds Headscale support. It provides also an upgrade to Keycloak 18.0.0 (Quarkus distribution). It upgrades NextCloud from 22 to 23. Reviewed-on: https://git.rz.ens.wtf/Klub-RZ/infrastructure/pulls/9 Co-authored-by: Ryan Lahfa <raito@noreply.git.rz.ens.wtf> Co-committed-by: Ryan Lahfa <raito@noreply.git.rz.ens.wtf>
14 lines
269 B
Nix
14 lines
269 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
my = config.my;
|
|
in
|
|
{
|
|
security.acme.acceptTerms = true;
|
|
security.acme.defaults.email = my.email;
|
|
|
|
security.acme.defaults.server =
|
|
if my.acmeStaging
|
|
then "https://acme-staging-v02.api.letsencrypt.org/directory"
|
|
else null;
|
|
}
|