diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-09-08 05:07:03 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-09-08 07:02:58 -0400 |
commit | 16083defb5aff18f70e938c6ecad1c9b11c3054a (patch) | |
tree | fe8fe391acd8600a84f47e2139cd9c98d1176e5c /nixos/modules | |
parent | 92740dd4a81e0f2ef3c185e66809e3fca5132f0d (diff) | |
download | nixlib-16083defb5aff18f70e938c6ecad1c9b11c3054a.tar nixlib-16083defb5aff18f70e938c6ecad1c9b11c3054a.tar.gz nixlib-16083defb5aff18f70e938c6ecad1c9b11c3054a.tar.bz2 nixlib-16083defb5aff18f70e938c6ecad1c9b11c3054a.tar.lz nixlib-16083defb5aff18f70e938c6ecad1c9b11c3054a.tar.xz nixlib-16083defb5aff18f70e938c6ecad1c9b11c3054a.tar.zst nixlib-16083defb5aff18f70e938c6ecad1c9b11c3054a.zip |
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.
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/hardware/upower.nix | 9 |
1 files changed, 0 insertions, 9 deletions
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 - ''; - }; } |