move the locksceen in a separate module
This commit is contained in:
parent
89cae7130c
commit
d0d32c574d
|
@ -0,0 +1,14 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# enable lockscreen
|
||||||
|
programs.xss-lock = {
|
||||||
|
enable = true;
|
||||||
|
lockerCommand = "${pkgs.i3lock}/bin/i3lock -c 000000";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
i3lock
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue