Make group for users

This commit is contained in:
niten 2024-01-06 10:38:58 -08:00
parent 799fd04446
commit 6d14ff1999

View File

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