nixos

NixOS server files. Mirror from https://git.nordgedanken.dev/kubernetes/nixos
git clone git://archive.git.mtrnord.blog/MTRNord/nixos.git
Log | Files | Refs | README

commit 8ca2fe9ab0a76d4a753688d84e8ae0ca867438a6
parent 0a8c6d42f4e704888ee69f72d981e09b91a75284
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 11 Dec 2023 12:24:54 +0100

Fix services

Diffstat:
Mnixos/common/sops.nix | 84+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 78 insertions(+), 6 deletions(-)

diff --git a/nixos/common/sops.nix b/nixos/common/sops.nix @@ -150,32 +150,104 @@ }; "meilisearchKey" = {}; "mastodon/otp_secret" = { - restartUnits = ["mastodon.service"]; + restartUnits = [ + "mastodon-sidekiq-all.service" + "mastodon-streaming-1.service" + "mastodon-streaming-2.service" + "mastodon-streaming-3.service" + "mastodon-streaming-4.service" + "mastodon-streaming-5.service" + "mastodon-streaming-6.service" + "mastodon-streaming-7.service" + "mastodon-streaming-8.service" + "mastodon-web.service" + "redis-mastodon.service" + ]; owner = "mastodon"; group = "mastodon"; }; "mastodon/secret_key" = { - restartUnits = ["mastodon.service"]; + restartUnits = [ + "mastodon-sidekiq-all.service" + "mastodon-streaming-1.service" + "mastodon-streaming-2.service" + "mastodon-streaming-3.service" + "mastodon-streaming-4.service" + "mastodon-streaming-5.service" + "mastodon-streaming-6.service" + "mastodon-streaming-7.service" + "mastodon-streaming-8.service" + "mastodon-web.service" + "redis-mastodon.service" + ]; owner = "mastodon"; group = "mastodon"; }; "mastodon/vapid_private_key" = { - restartUnits = ["mastodon.service"]; + restartUnits = [ + "mastodon-sidekiq-all.service" + "mastodon-streaming-1.service" + "mastodon-streaming-2.service" + "mastodon-streaming-3.service" + "mastodon-streaming-4.service" + "mastodon-streaming-5.service" + "mastodon-streaming-6.service" + "mastodon-streaming-7.service" + "mastodon-streaming-8.service" + "mastodon-web.service" + "redis-mastodon.service" + ]; owner = "mastodon"; group = "mastodon"; }; "mastodon/vapid_public_key" = { - restartUnits = ["mastodon.service"]; + restartUnits = [ + "mastodon-sidekiq-all.service" + "mastodon-streaming-1.service" + "mastodon-streaming-2.service" + "mastodon-streaming-3.service" + "mastodon-streaming-4.service" + "mastodon-streaming-5.service" + "mastodon-streaming-6.service" + "mastodon-streaming-7.service" + "mastodon-streaming-8.service" + "mastodon-web.service" + "redis-mastodon.service" + ]; owner = "mastodon"; group = "mastodon"; }; "mastodon/smtp_password" = { - restartUnits = ["mastodon.service"]; + restartUnits = [ + "mastodon-sidekiq-all.service" + "mastodon-streaming-1.service" + "mastodon-streaming-2.service" + "mastodon-streaming-3.service" + "mastodon-streaming-4.service" + "mastodon-streaming-5.service" + "mastodon-streaming-6.service" + "mastodon-streaming-7.service" + "mastodon-streaming-8.service" + "mastodon-web.service" + "redis-mastodon.service" + ]; owner = "mastodon"; group = "mastodon"; }; "mastodon/db_password" = { - restartUnits = ["mastodon.service"]; + restartUnits = [ + "mastodon-sidekiq-all.service" + "mastodon-streaming-1.service" + "mastodon-streaming-2.service" + "mastodon-streaming-3.service" + "mastodon-streaming-4.service" + "mastodon-streaming-5.service" + "mastodon-streaming-6.service" + "mastodon-streaming-7.service" + "mastodon-streaming-8.service" + "mastodon-web.service" + "redis-mastodon.service" + ]; owner = "mastodon"; group = "mastodon"; };