From 16083defb5aff18f70e938c6ecad1c9b11c3054a Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sun, 8 Sep 2019 05:07:03 -0400 Subject: nixos/upower: drop resumeCommands hack Introduced 7 years ago, it's likely the issue has been fixed. Even possible this could cause issues with recent upower. --- nixos/modules/services/hardware/upower.nix | 9 --------- 1 file changed, 9 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/hardware/upower.nix b/nixos/modules/services/hardware/upower.nix index f6ce1101d548..5e7ac7a6e659 100644 --- a/nixos/modules/services/hardware/upower.nix +++ b/nixos/modules/services/hardware/upower.nix @@ -54,15 +54,6 @@ in systemd.packages = [ cfg.package ]; - # The upower daemon seems to get stuck after doing a suspend - # (i.e. subsequent suspend requests will say "Sleep has already - # been requested and is pending"). So as a workaround, restart - # the daemon. - powerManagement.resumeCommands = - '' - ${config.systemd.package}/bin/systemctl try-restart upower - ''; - }; } -- cgit 1.4.1