diff --git a/modules/lockscreen/default.nix b/modules/lockscreen/default.nix new file mode 100644 index 0000000..e6a9c36 --- /dev/null +++ b/modules/lockscreen/default.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: + +{ + # enable lockscreen + programs.xss-lock = { + enable = true; + lockerCommand = "${pkgs.i3lock}/bin/i3lock -c 000000"; + }; + + environment.systemPackages = with pkgs; [ + i3lock + ]; +} +