diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2018-05-18 18:24:53 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-05-18 18:24:53 +0200 |
commit | 641a62305305692c294ab3f67c597bc90067a667 (patch) | |
tree | b009c144a626941263dc36219128796762be809d /nixos/release.nix | |
parent | cfc016c7cd2059eb389f14c2cff7ede19a8d8d64 (diff) |
nixos/xss-lock: add module (#40619)
`xsslock` (which was originally packaged in 6cb1d1aaaf02a72329bedf9c6960e54fea6f5c6e) is a simple screensaver which connects a given screen locker (e.g. `i3lock`) with `logind`. Whenever `loginctl lock-sessions` is invoked the locker will be used to lock the screen. This works with its power management features (e.g. `lid switch`) as well, so the PC can be locked automatically when the lid is closed. The module can be used like this: ``` { services.xserver.enable = true; programs.xss-lock.enable = true; programs.xss-lock.lockerCommand = "i3lock"; } ```
Diffstat (limited to 'nixos/release.nix')
-rw-r--r-- | nixos/release.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/release.nix b/nixos/release.nix index 4c0bb7bfb7566..f7c2943b96fad 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -402,6 +402,7 @@ in rec { tests.xfce = callTest tests/xfce.nix {}; tests.xmonad = callTest tests/xmonad.nix {}; tests.xrdp = callTest tests/xrdp.nix {}; + tests.xss-lock = callTest tests/xss-lock.nix {}; tests.yabar = callTest tests/yabar.nix {}; tests.zookeeper = callTest tests/zookeeper.nix {}; |