{ config, lib, pkgs, ... }: { config.services.screen-locker = { enable = false; inactiveInterval = 30; lockCmd = "${pkgs.i3lock}/bin/i3lock -n -c 000000"; xautolock.extraOptions = [ "-detectsleep" ]; }; }