nix/module/common/Systemd.nix

11 lines
249 B
Nix

{ ... }: {
# 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" ];
};
}