Auto brightness + dunst notification
This commit is contained in:
parent
6d5925d6a5
commit
4befb01e03
3 changed files with 14 additions and 21 deletions
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue