trying regular docker-compose

This commit is contained in:
2024-11-10 11:59:10 -06:00
parent 82b054d3ea
commit 9a6c1aa1ba
5 changed files with 156 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, inputs, ... }: {
{ pkgs, config, lib, inputs, ... }: {
options.sysconfig.opts.virtualization.authentik.enable = lib.options.mkOption {
type = lib.types.bool;
@@ -19,15 +19,17 @@
AUTHENTIK_SECRET_KEY=${config.sops.placeholder."authentik/secret_key"}
'';
path = "/ssd1/Authentik/data/authentik.env";
path = "/home/nathan/Projects/System/system-config/services/containers/authentik/.env";
};
virtualisation.arion.projects.authentik = {
serviceName = "authentik";
/*systemd.services.launchAuthentik = {
settings = {
imports = [ ./arion-compose.nix ];
};
};
enable = true;
script = ''
cd /home/nathan/Projects/System/system-config/services/containers/authentik
${pkgs.docker-compose}/bin/docker-compose up -d
'';
};*/
};
}