diff options
author | Alan Pearce | 2017-11-08 13:33:45 +0100 |
---|---|---|
committer | Alan Pearce | 2017-11-08 13:33:45 +0100 |
commit | 7cf7ff65a1f3f2c626ffe7495bbef4ac4549abe0 (patch) | |
tree | c9bd1b1921dc8fa8ffbc30393570361543d648cb | |
parent | 3efd4f870af8fea046a843e23ffba3df67402890 (diff) | |
download | nixfiles-7cf7ff65a1f3f2c626ffe7495bbef4ac4549abe0.tar.lz nixfiles-7cf7ff65a1f3f2c626ffe7495bbef4ac4549abe0.tar.zst nixfiles-7cf7ff65a1f3f2c626ffe7495bbef4ac4549abe0.zip |
window-manager: Add auto-lock after 5 minutes
-rw-r--r-- | modules/programs/window-manager.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix index c1593745..3f584979 100644 --- a/modules/programs/window-manager.nix +++ b/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; }; }; |