Force the clamav homedir

This commit is contained in:
niten 2023-07-30 14:59:18 -07:00
parent 306087355c
commit 7b318d0aaf
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ in {
users.clamav = {
isSystemUser = true;
uid = config.ids.uids.clamav;
home = cfg.clamav.state-directory;
home = mkForce cfg.clamav.state-directory;
description = "ClamAV daemon user";
group = "clamav";
};