delete authentik

This commit is contained in:
2025-07-24 19:44:15 -05:00
parent f42de04ac9
commit aa92b4701a
5 changed files with 6 additions and 329 deletions

View File

@@ -1,34 +0,0 @@
{ pkgs, config, lib, ... }: {
options.sysconfig.opts.virtualization.authentik.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.opts.virtualization.authentik.enable {
sops.templates."authentik.env" = {
content = ''
POSTGRES_DB=authentik-db
POSTGRES_USER=authentik-admin
POSTGRES_PASSWORD=${config.sops.placeholder."authentik/pass"}
AUTHENTIK_SECRET_KEY=${config.sops.placeholder."authentik/secret_key"}
'';
path = "/ssd1/Authentik/.env";
};
systemd.services.launchAuthentik = {
enable = false;
wantedBy = [ "multi-user.target" ];
script = ''
cd /ssd1/Authentik
${pkgs.docker-compose}/bin/docker-compose up
'';
};
};
}