vps1: authentik: fix env file

This commit is contained in:
Lgmrszd 2024-05-16 17:18:07 +03:00
parent 70d8872951
commit 5729ae1637
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -7,8 +7,6 @@ let
sops_opts = { sops_opts = {
sopsFile = ../secrets/authentik.env; sopsFile = ../secrets/authentik.env;
format = "dotenv"; format = "dotenv";
# owner = "authentik";
group = "authentik";
}; };
in in
{ {
@ -16,7 +14,7 @@ in
enable = true; enable = true;
# The environmentFile needs to be on the target host! # The environmentFile needs to be on the target host!
# Best use something like sops-nix or agenix to manage it # Best use something like sops-nix or agenix to manage it
environmentFile = "/run/secrets/authentik/authentik-env"; environmentFile = config.sops.secrets.authentik.path;
createDatabase = true; createDatabase = true;
nginx = { nginx = {
enable = true; enable = true;