summaryrefslogtreecommitdiff
path: root/os/core/security.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-05-18 15:25:50 +0200
committeradikro <adikro@disroot.org>2026-05-18 15:25:50 +0200
commitc6b6a3e6c702834eac2b633db2ed4c397b4ae113 (patch)
tree4ec03c63fac3c7d0e7caea31cbe9ec1317df8c2f /os/core/security.nix
parent62b7ca3cdfff5182daad7f4092b6861bbc93f04c (diff)
set up disko, zfs, clamav aide, backup, nfs, zfs for oci and ups
Diffstat (limited to 'os/core/security.nix')
-rw-r--r--os/core/security.nix21
1 files changed, 0 insertions, 21 deletions
diff --git a/os/core/security.nix b/os/core/security.nix
index c401a14..f69ab1f 100644
--- a/os/core/security.nix
+++ b/os/core/security.nix
@@ -58,27 +58,6 @@ in
apparmor-bin-utils
];
})
- (lib.mkIf cfg.antivirus.enable {
- services.clamav = {
- daemon = {
- enable = true;
- settings = {
- OnAccessIncludePath = [ "/home/${username}" ];
- OnAccessPrevention = true;
- OnAccessExcludeUname = "clamav";
- MaxThreads = 20;
- MaxQueue = 100;
- };
- };
- scanner.enable = true;
- updater.enable = true;
- fangfrisch.enable = true;
- # massive performance hit
- # clamonacc.enable = true;
- };
- boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
- users.users.${username}.extraGroups = [ "clamav" ];
- })
{
services.gnome.gnome-keyring.enable = true;