nixos/upower: don't use activation script to create statedir
Systemd now handles this completely.
This commit is contained in:
parent
579a08ab15
commit
ab48ede4c3
@ -84,12 +84,7 @@ in
|
||||
NoNewPrivileges = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.activationScripts.upower =
|
||||
''
|
||||
mkdir -m 0755 -p /var/lib/upower
|
||||
'';
|
||||
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user