1
0
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:
2023-01-01 14:53:43 +01:00
parent 1aa7b78b4a
commit eb17c7fdd9
3 changed files with 6 additions and 6 deletions

View File

@@ -276,5 +276,6 @@ in {
./watson.nix ./watson.nix
./zsh.nix ./zsh.nix
./tor.nix ./tor.nix
./mastodon-bot.nix
]; ];
} }

View File

@@ -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";
} }

View File

@@ -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 = {