Systemd : Add fix for PowerLimit.
This commit is contained in:
parent
28342f0cb1
commit
508ff9a894
10
module/common/Systemd.nix
Normal file
10
module/common/Systemd.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ ... }: {
|
||||||
|
# HACK: Fix for broken tmpfiles setup for some services like PowerLimit.
|
||||||
|
systemd.timers.tmpfilesfix = {
|
||||||
|
timerConfig = {
|
||||||
|
OnBootSec = 5;
|
||||||
|
Unit = "systemd-tmpfiles-resetup.service";
|
||||||
|
};
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue