summary refs log tree commit diff
path: root/modules/system/boot/systemd.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-20 15:40:50 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-20 15:40:50 -0400
commit5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be (patch)
treea0e2c5a17bdad52ad18af87aabd8264a155e9808 /modules/system/boot/systemd.nix
parent1602f8e1625d22531b9d414ec1709c2e715776dd (diff)
downloadnixpkgs-5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be.tar
nixpkgs-5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be.tar.gz
nixpkgs-5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be.tar.bz2
nixpkgs-5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be.tar.lz
nixpkgs-5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be.tar.xz
nixpkgs-5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be.tar.zst
nixpkgs-5fabcf63a36b9d5032ad04a1daf86edb2c0ff3be.zip
Get delayed shutdowns to work
Diffstat (limited to 'modules/system/boot/systemd.nix')
-rw-r--r--modules/system/boot/systemd.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/system/boot/systemd.nix b/modules/system/boot/systemd.nix
index 40ff14dda7a..5f7f62b7866 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"