From 597ec76b7cb1527b1df215548a8f50bddccd8606 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 23 Feb 2024 08:07:11 +0100 Subject: apps/authelia: init --- systems/system1/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'systems') 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"; -- cgit v1.2.3