mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
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:
parent
ebac0220d1
commit
ffb581c739
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user