diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-02-23 08:07:11 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-02-26 04:36:24 +0100 |
commit | 597ec76b7cb1527b1df215548a8f50bddccd8606 (patch) | |
tree | 9ea88686f3b15689e222a1d286a6726f6ce59ace /systems | |
parent | d2873fe0f6a117d7157c2a6f204a864f9edeb668 (diff) |
apps/authelia: init
Diffstat (limited to 'systems')
-rw-r--r-- | systems/system1/configuration.nix | 6 |
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"; |