1
0
mirror of https://github.com/nix-community/home-manager synced 2024-05-31 20:13:34 +02:00

swayidle: add systemd suspend to example

This commit is contained in:
Yuchen Guo 2023-11-28 12:38:25 +01:00 committed by Robert Helgesson
parent 9e869829c2
commit 4a8545f5e7
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -74,6 +74,7 @@ in {
example = literalExpression ''
[
{ timeout = 60; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
{ timeout = 90; command = "${pkgs.systemd}/bin/systemctl suspend"; }
]
'';
description = "List of commands to run after idle timeout.";