diff options
Diffstat (limited to 'home-manager/swayidle/default.nix')
-rw-r--r-- | home-manager/swayidle/default.nix | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/home-manager/swayidle/default.nix b/home-manager/swayidle/default.nix deleted file mode 100644 index d9f001d5..00000000 --- a/home-manager/swayidle/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ - config, - pkgs, - ... -}: { - services.swayidle = { - enable = true; - events = [ - { - event = "before-sleep"; - command = "${pkgs.swaylock}/bin/swaylock -f "; - } - ]; - timeouts = [ - { - timeout = 180; - command = "${pkgs.swaylock}/bin/swaylock -fFu "; - } - { - timeout = 360; - # TODO systemctl is installed? - command = "systemctl suspend-then-hibernate"; - } - ]; - # systemdTarget = ""; # TODO this might be usefull - }; -} -# vim: ts=2 - |