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