aboutsummaryrefslogtreecommitdiffstats
path: root/systems/system1/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/system1/configuration.nix')
-rw-r--r--systems/system1/configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/systems/system1/configuration.nix b/systems/system1/configuration.nix
index dc9422d..7f42b1a 100644
--- a/systems/system1/configuration.nix
+++ b/systems/system1/configuration.nix
@@ -8,6 +8,7 @@
# TODO auto-load modules
../../modules/abuilder
../../modules/fysiweb-capabilities
+ ../../modules/fysiweb-secrets
];
config = lib.mkMerge [
@@ -19,6 +20,11 @@
fysiweb-apps.public.static-users.public.users.aforemny.publicKeyFile = toString ../../public + "/aforemny.id_rsa.pub";
fysiweb-apps.public.static-users.public.users.kirchner.publicKeyFile = toString ../../public + "/kirchner.id_rsa.pub";
}
+ # enable authelia
+ {
+ fysiweb-apps.public.authelia.public.domain = "auth.nomath.org";
+ fysiweb-apps.public.authelia.public.users = config.fysiweb.capabilities.password-credentials.public-static-users-public;
+ }
# enable static website "nomath.org"
{
fysiweb-apps.public.static-website."nomath-org".domain = "nomath.org";