Fix suspend in systemd

Systemd 203 expects the file /etc/systemd/sleep.conf to exist,
otherwise suspend doesn't work.
This commit is contained in:
Eelco Dolstra 2013-05-09 16:25:24 +02:00
parent ebac0220d1
commit ffb581c739

View File

@ -554,6 +554,11 @@ in
${config.services.logind.extraConfig}
'';
environment.etc."systemd/sleep.conf".text =
''
[Sleep]
'';
system.activationScripts.systemd =
''
mkdir -p /var/lib/udev -m 0755