window-manager: Add auto-lock after 5 minutes
Alan Pearce alan@alanpearce.eu
Wed, 08 Nov 2017 13:33:45 +0100
1 files changed, 8 insertions(+), 1 deletions(-)
M modules/programs/window-manager.nix → modules/programs/window-manager.nix
@@ -1,8 +1,15 @@ { config, pkgs, ... }: -{ services.xserver.displayManager = { +{ services.xserver = { + displayManager = { lightdm = { + enable = true; + }; + }; + xautolock = { enable = true; + locker = "${pkgs.i3lock-color}"; + time = 5; }; };