mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix: post on mastodon from both laptops
This commit is contained in:
@@ -276,5 +276,6 @@ in {
|
|||||||
./watson.nix
|
./watson.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
./tor.nix
|
./tor.nix
|
||||||
|
./mastodon-bot.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
systemd.services.imaginary-illuminations = {
|
systemd.services.imaginary-illuminations = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wants = ["network-online.target"];
|
wants = ["network-online.target"];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
user = "kfm";
|
User = "kfm";
|
||||||
|
Group = "users";
|
||||||
WorkingDirectory = "/home/kfm/cloud/Seafile/Documents/Media/imaginary-illuminations";
|
WorkingDirectory = "/home/kfm/cloud/Seafile/Documents/Media/imaginary-illuminations";
|
||||||
};
|
};
|
||||||
startAt = "7:00";
|
startAt = "7:00";
|
||||||
script = ''
|
script = ''
|
||||||
./post.ts
|
${pkgs.deno}/bin/deno run -A post.ts
|
||||||
'';
|
'';
|
||||||
serviceConfig.DynamicUser = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.timers.moinbot.timerConfig.RandomizedDelaySec = "14h";
|
systemd.timers.imaginary-illuminations.timerConfig.RandomizedDelaySec = "14h";
|
||||||
}
|
}
|
||||||
@@ -11,7 +11,6 @@ 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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user