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.
This commit is contained in:
parent
92740dd4a8
commit
16083defb5
@ -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
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user