mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 03:03:55 -05:00
home/swayidle: fix command syntax
This commit is contained in:
parent
52965c7da8
commit
65df61f650
|
@ -41,7 +41,7 @@ in {
|
|||
]
|
||||
++ lib.optional cfg.desktop.autoSuspend {
|
||||
timeout = 600;
|
||||
command = "sleep 2 && ${lib.getExe' pkgs.systemd "systemctl"} suspend'";
|
||||
command = "${lib.getExe' pkgs.systemd "systemctl"} suspend";
|
||||
}
|
||||
++ lib.optional (!cfg.desktop.autoSuspend)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue