mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-22 05:07:45 +03: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}
|
${config.services.logind.extraConfig}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
environment.etc."systemd/sleep.conf".text =
|
||||||
|
''
|
||||||
|
[Sleep]
|
||||||
|
'';
|
||||||
|
|
||||||
system.activationScripts.systemd =
|
system.activationScripts.systemd =
|
||||||
''
|
''
|
||||||
mkdir -p /var/lib/udev -m 0755
|
mkdir -p /var/lib/udev -m 0755
|
||||||
|
Loading…
Reference in New Issue
Block a user