Make group for users

This commit is contained in:
niten 2024-01-06 10:38:58 -08:00
parent 799fd04446
commit 6d14ff1999
1 changed files with 19 additions and 15 deletions

View File

@ -104,22 +104,26 @@ in {
};
};
users.users = {
authentik = {
isSystemUser = true;
group = "authentik";
uid = cfg.uids.authentik;
};
authentik-postgres = {
isSystemUser = true;
group = "authentik";
uid = cfg.uids.postgres;
};
authentik-redis = {
isSystemUser = true;
group = "authentik";
uid = cfg.uids.redis;
users = {
users = {
authentik = {
isSystemUser = true;
group = "authentik";
uid = cfg.uids.authentik;
};
authentik-postgres = {
isSystemUser = true;
group = "authentik";
uid = cfg.uids.postgres;
};
authentik-redis = {
isSystemUser = true;
group = "authentik";
uid = cfg.uids.redis;
};
};
groups.authentik.members =
[ "authentik" "authentik-postgres" "authentik-redis" ];
};
fudo.secrets.host-secrets."${hostname}" = {