nixos/upower: don't use activation script to create statedir

Systemd now handles this completely.
This commit is contained in:
worldofpeace
2019-09-08 07:02:57 -04:00
parent 579a08ab15
commit ab48ede4c3
@@ -85,11 +85,6 @@ in
}; };
}; };
system.activationScripts.upower =
''
mkdir -m 0755 -p /var/lib/upower
'';
# The upower daemon seems to get stuck after doing a suspend # The upower daemon seems to get stuck after doing a suspend
# (i.e. subsequent suspend requests will say "Sleep has already # (i.e. subsequent suspend requests will say "Sleep has already
# been requested and is pending"). So as a workaround, restart # been requested and is pending"). So as a workaround, restart