From b9dd32bad0bab2a3d7dfdc534207ced179d071fb Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 8 Apr 2022 13:51:41 +0300 Subject: [PATCH] feat(nix/home): add screenlocker --- nix/home.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/home.nix b/nix/home.nix index 191de59..2ecf3af 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -90,6 +90,14 @@ in }; }; + services.screen-locker = { + enable = true; + + lockCmd = "/usr/bin/i3lock -c 000000"; + + inactiveInterval = 5; + }; + # Let Home Manager install and manage itself. programs.home-manager.enable = true;