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