nix/module/common/Systemd.nix

11 lines
249 B
Nix
Raw Normal View History

2024-05-06 22:59:18 +03:00
{ ... }: {
# 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" ];
};
}