diff --git a/hosts/vps1/services/authentik.nix b/hosts/vps1/services/authentik.nix index c45f933..d32f1e4 100644 --- a/hosts/vps1/services/authentik.nix +++ b/hosts/vps1/services/authentik.nix @@ -7,8 +7,6 @@ let sops_opts = { sopsFile = ../secrets/authentik.env; format = "dotenv"; - # owner = "authentik"; - group = "authentik"; }; in { @@ -16,7 +14,7 @@ in enable = true; # The environmentFile needs to be on the target host! # 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; nginx = { enable = true;