move the locksceen in a separate module

This commit is contained in:
Andreas Zweili 2022-01-07 13:08:43 +01:00
parent 89cae7130c
commit d0d32c574d
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
# enable lockscreen
programs.xss-lock = {
enable = true;
lockerCommand = "${pkgs.i3lock}/bin/i3lock -c 000000";
};
environment.systemPackages = with pkgs; [
i3lock
];
}