diff options
| 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'"; |
