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:
parent
c85a8f0d2a
commit
4c803b904e
@ -81,6 +81,7 @@ in
|
|||||||
users.extraUsers = singleton {
|
users.extraUsers = singleton {
|
||||||
name = clamavUser;
|
name = clamavUser;
|
||||||
uid = config.ids.uids.clamav;
|
uid = config.ids.uids.clamav;
|
||||||
|
group = clamavGroup;
|
||||||
description = "ClamAV daemon user";
|
description = "ClamAV daemon user";
|
||||||
home = stateDir;
|
home = stateDir;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user