fix: user for authentik
This commit is contained in:
parent
48aaed53ae
commit
67c62dae3d
1 changed files with 20 additions and 9 deletions
|
|
@ -1,8 +1,16 @@
|
|||
{config, ...}: {
|
||||
{ config, ... }:
|
||||
{
|
||||
age.secrets.authentik-env = {
|
||||
file = ../../secrets/authentik.age;
|
||||
};
|
||||
|
||||
users.users.authentik = {
|
||||
isSystemUser = true;
|
||||
group = "authentik";
|
||||
};
|
||||
|
||||
users.groups.authentik = {};
|
||||
|
||||
services.authentik = {
|
||||
enable = true;
|
||||
environmentFile = config.age.secrets.authentik-env.path;
|
||||
|
|
@ -15,8 +23,6 @@
|
|||
user = "authentik";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
nginx = {
|
||||
enable = true;
|
||||
enableACME = true;
|
||||
|
|
@ -31,4 +37,9 @@
|
|||
ensureDBOwnership = true;
|
||||
}];
|
||||
};
|
||||
|
||||
services.redis.servers.authentik = {
|
||||
enable = true;
|
||||
port = 0;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue