mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-22 11:17:56 +01:00
vps1: authentik: fix env file
This commit is contained in:
parent
70d8872951
commit
5729ae1637
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue