diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-11-24 17:57:34 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-11-24 17:57:34 +0530 |
| commit | e8252676414aa387a337282e4af7c49d465d3936 (patch) | |
| tree | 6c9826ed1b57cffd9eaa5f8ceda5a0e5b25079d3 | |
| parent | 9b07aa4ec5cb75ae53c61d2c971e073193dec476 (diff) | |
| download | nixos-config-e8252676414aa387a337282e4af7c49d465d3936.tar.gz nixos-config-e8252676414aa387a337282e4af7c49d465d3936.zip | |
Enable clam onaccess
| m--------- | extras/notes | 0 | ||||
| -rw-r--r-- | modules/clamav.nix | 10 | ||||
| -rw-r--r-- | modules/lockscreen.nix | 3 |
3 files changed, 11 insertions, 2 deletions
diff --git a/extras/notes b/extras/notes -Subproject 6e7779686fcedab88e763b855f2c7de7c11d4f1 +Subproject 285e10edbeb085b991821a7a5ae955dff079532 diff --git a/modules/clamav.nix b/modules/clamav.nix index fbfac11..144f937 100644 --- a/modules/clamav.nix +++ b/modules/clamav.nix @@ -5,6 +5,16 @@ in { services.clamav = { daemon = { inherit enable; + settings = { + OnAccessPrevention = true; + OnAccessIncludePath = [ + "/home/imsohexy/Downloads" + "/home/imsohexy/Documents" + ]; + }; + }; + clamonacc = { + inherit enable; }; scanner = { inherit enable; diff --git a/modules/lockscreen.nix b/modules/lockscreen.nix index df7588a..09c6727 100644 --- a/modules/lockscreen.nix +++ b/modules/lockscreen.nix @@ -7,8 +7,7 @@ in { services.xserver.xautolock = { enable = true; time = 30; # minutes - locker = "bslock"; - + locker = "${localPkgs.bslock}/bin/bslock"; enableNotifier = true; notify = 30; notifier = "${pkgs.libnotify}/bin/notify-send 'Locking in 30 seconds'"; |
