Created
May 6, 2018 20:24
-
-
Save infinisil/66ed080ab0a61f2788ea04c533b80f36 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ...}: | |
{ | |
systemd.timers.sync = { | |
partOf = [ "sync.service" ]; | |
wantedBy = [ "timers.target" ]; | |
timerConfig.OnCalendar = "minutely"; | |
}; | |
systemd.services.sync = { | |
enable = true; | |
serviceConfig = { | |
Type = "oneshot"; | |
User = "infinisil"; | |
}; | |
script = '' | |
echo hi | |
''; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment