nixos/authelia: start after network-online.target

This commit is contained in:
ThinkChaos 2024-11-03 18:35:27 -05:00
parent 807e9154dc
commit c5450fcb4b
No known key found for this signature in database

View File

@ -308,7 +308,8 @@ in
{
description = "Authelia authentication and authorization server";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
after = [ "network-online.target" ]; # Checks SMTP notifier creds during startup
wants = [ "network-online.target" ];
environment =
(lib.filterAttrs (_: v: v != null) {
X_AUTHELIA_CONFIG_FILTERS = lib.mkIf (oidcJwksConfigFile != [ ]) "template";