Create environment file correctly, reference correct services
This commit is contained in:
parent
3bd771709b
commit
29386d8f0d
1 changed files with 3 additions and 3 deletions
|
|
@ -4,12 +4,12 @@ with lib;
|
|||
options.myModules.authentik.enable = mkEnableOption "custom authentik configuration";
|
||||
|
||||
config = mkIf config.myModules.authentik.enable {
|
||||
sops.secrets.authentik-env = {
|
||||
format = "env";
|
||||
sops.secrets.authentik-env = with config.virtualisation.oci-containers; {
|
||||
format = "dotenv";
|
||||
group = "authentik";
|
||||
mode = "0440";
|
||||
owner = "authentik";
|
||||
restartUnits = ["authentik"];
|
||||
restartUnits = ["${backend}-authentik-server" "${backend}-authentik-worker"];
|
||||
sopsFile = ../../secrets/authentik.env;
|
||||
};
|
||||
systemd.services.podman-create-authentik-pod = with config.virtualisation.oci-containers; {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue