aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/clamav.nix10
-rw-r--r--modules/lockscreen.nix3
2 files changed, 11 insertions, 2 deletions
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'";