home: Switch to i3lock instead of betterlockscreen

This commit is contained in:
Alexander Kobjolke 2024-12-07 21:06:10 +01:00
parent bbad254bf0
commit a029bd12e4

View file

@ -1,10 +1,15 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
{
config.services.screen-locker = {
enable = true;
inactiveInterval = 30;
lockCmd = "${pkgs.betterlockscreen}/bin/betterlockscreen -l dim";
xautolock.extraOptions = [ "-killer 'systemctl suspend'" ];
lockCmd = "${pkgs.i3lock}/bin/i3lock -n -c 000000";
xautolock.extraOptions = [ "-detectsleep" ];
};
}