Make group for users
This commit is contained in:
parent
799fd04446
commit
6d14ff1999
|
@ -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}" = {
|
||||
|
|
Loading…
Reference in New Issue