Unverified Commit c5450fcb authored by ThinkChaos's avatar ThinkChaos
Browse files

nixos/authelia: start after `network-online.target`

parent 807e9154
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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";