diff --git a/lib/fudo/mail/clamav.nix b/lib/fudo/mail/clamav.nix index 1ac4cd0..191d7b0 100644 --- a/lib/fudo/mail/clamav.nix +++ b/lib/fudo/mail/clamav.nix @@ -23,9 +23,15 @@ in { users = { users.clamav = { isSystemUser = true; + uid = config.ids.uids.clamav; + home = cfg.clamav.state-directory; + description = "ClamAV daemon user"; group = "clamav"; }; - groups.clamav = { members = [ "clamav" ]; }; + groups.clamav = { + members = [ "clamav" ]; + gid = config.ids.gids.clamav; + }; }; systemd.tmpfiles.rules =