10 lines
262 B
Nix
10 lines
262 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config.services.screen-locker = {
|
|
enable = true;
|
|
inactiveInterval = 30;
|
|
lockCmd = "${pkgs.betterlockscreen}/bin/betterlockscreen -l dim";
|
|
xautolock.extraOptions = [ "Xautolock.killer: systemctl suspend" ];
|
|
};
|
|
}
|