Auto brightness + dunst notification

This commit is contained in:
Filippo Berto 2022-08-16 19:48:57 +02:00
parent 6d5925d6a5
commit 4befb01e03
3 changed files with 14 additions and 21 deletions

View file

@ -1,8 +1,12 @@
{ pkgs, ... }:
{
services.screen-locker = {
enable = false;
lockCmd = "${pkgs.lockscreen}";
inactiveInterval = 10; # miutes
enable = true;
lockCmd = "${pkgs.lockscreen}/bin/lockscreen";
inactiveInterval = 2; # minutes
xautolock.extraOptions = [
"-secure"
"-lockaftersleep"
];
};
}