start authentik on boot
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
{ pkgs, config, lib, inputs, ... }: {
|
||||
{ pkgs, config, lib, ... }: {
|
||||
|
||||
options.sysconfig.opts.virtualization.authentik.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.arion.nixosModules.arion
|
||||
];
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.virtualization.authentik.enable {
|
||||
|
||||
@@ -22,14 +19,16 @@
|
||||
path = "/ssd1/Authentik/.env";
|
||||
};
|
||||
|
||||
/*systemd.services.launchAuthentik = {
|
||||
systemd.services.launchAuthentik = {
|
||||
|
||||
enable = true;
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
script = ''
|
||||
cd /home/nathan/Projects/System/system-config/services/containers/authentik
|
||||
${pkgs.docker-compose}/bin/docker-compose up -d
|
||||
cd /ssd1/Authentik
|
||||
${pkgs.docker-compose}/bin/docker-compose up
|
||||
'';
|
||||
};*/
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user