nixos/redis: set config group for service user

Avoids trying to set the primary group of the redis user to a group that doesn't exist.

Signed-off-by: Julia DeMille <me@jdemille.com>
Change-Id: Ic67fb735ca739a13b95e98675994de376a6a6964
This commit is contained in:
Julia DeMille
2026-01-27 10:43:25 -06:00
parent bced4999e7
commit d462c4dd2c
+1 -1
View File
@@ -477,7 +477,7 @@ in
lib.nameValuePair (redisName name) {
description = "System user for the redis-server instance ${name}";
isSystemUser = true;
group = redisName name;
group = conf.group;
}
) (lib.filterAttrs (name: conf: conf.user == redisName name) enabledServers);
users.groups = lib.mapAttrs' (