commit | 47b4d24e1fb717da43087a9f5336f184d4d2f322 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Wed Mar 08 00:57:54 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Wed Mar 08 01:04:56 2023 +0000 |
tree | f00a1df06b8b27b32e29cd900f31223f95b4a6d8 | |
parent | 62f4fa362e7b20c33e0886b84b030090b3dd2f77 [diff] |
Install clamav
diff --git a/modules/clamav.nix b/modules/clamav.nix new file mode 100644 index 0000000..4ed5cef --- /dev/null +++ b/modules/clamav.nix
@@ -0,0 +1,9 @@ +{ pkgs, ... }: { + config.services.clamav = { + updater.enable = true; + daemon.enable = true; + }; + config.environment.systemPackages = [ pkgs.clamav ]; + config.environment.persistence."/large/persist" = "/var/lib/clamav"; +} +