nixos/redis: add redis group

This commit is contained in:
Jörg Thalheim 2020-06-08 16:09:13 +01:00
parent 496bc90c6c
commit 10acf9ae00
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -218,6 +218,7 @@ in
description = "Redis database user"; description = "Redis database user";
isSystemUser = true; isSystemUser = true;
}; };
users.groups.redis = {};
environment.systemPackages = [ cfg.package ]; environment.systemPackages = [ cfg.package ];
@ -240,6 +241,7 @@ in
StateDirectory = "redis"; StateDirectory = "redis";
Type = "notify"; Type = "notify";
User = "redis"; User = "redis";
Group = "redis";
}; };
}; };
}; };