mirror of
https://github.com/kmein/niveum
synced 2026-03-21 12:21:08 +01:00
feat: add mastodon poster
This commit is contained in:
17
systems/kabsa/mastodon.nix
Normal file
17
systems/kabsa/mastodon.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
systemd.services.imaginary-illuminations = {
|
||||
enable = true;
|
||||
wants = ["network-online.target"];
|
||||
serviceConfig = {
|
||||
user = "kfm";
|
||||
WorkingDirectory = "/home/kfm/cloud/Seafile/Documents/Media/imaginary-illuminations";
|
||||
};
|
||||
startAt = "7:00";
|
||||
script = ''
|
||||
./post.ts
|
||||
'';
|
||||
serviceConfig.DynamicUser = true;
|
||||
};
|
||||
|
||||
systemd.timers.moinbot.timerConfig.RandomizedDelaySec = "14h";
|
||||
}
|
||||
Reference in New Issue
Block a user