mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
feat: add mastodon poster
This commit is contained in:
@@ -11,6 +11,7 @@ in {
|
|||||||
<niveum/configs/battery.nix>
|
<niveum/configs/battery.nix>
|
||||||
<niveum/configs/default.nix>
|
<niveum/configs/default.nix>
|
||||||
<niveum/configs/networkmanager.nix>
|
<niveum/configs/networkmanager.nix>
|
||||||
|
./mastodon.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
niveum = {
|
niveum = {
|
||||||
|
|||||||
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