nixos/clamav: set "clamav" user's primary group to "clamav"

So that the files created by the clamav service is owned by group
"clamav" instead of "nogroup".
This commit is contained in:
Bjørn Forsman 2017-01-15 19:58:29 +01:00
parent c85a8f0d2a
commit 4c803b904e

View File

@ -81,6 +81,7 @@ in
users.extraUsers = singleton {
name = clamavUser;
uid = config.ids.uids.clamav;
group = clamavGroup;
description = "ClamAV daemon user";
home = stateDir;
};