From 5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 20 Jul 2012 15:40:50 -0400 Subject: [PATCH] Get delayed shutdowns to work --- modules/system/boot/systemd.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/system/boot/systemd.nix b/modules/system/boot/systemd.nix index 40ff14dda7a7..5f7f62b7866a 100644 --- a/modules/system/boot/systemd.nix +++ b/modules/system/boot/systemd.nix @@ -196,10 +196,12 @@ let # Hibernate / suspend. "hibernate.target" - "systemd-hibernate.service" "suspend.target" - "systemd-suspend.service" "sleep.target" + "systemd-hibernate.service" + "systemd-suspend.service" + "systemd-shutdownd.socket" + "systemd-shutdownd.service" # Reboot stuff. "reboot.target"