From 2a3d08c0f9d73835a67e603a40ebe75bfad1748e Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 17 Aug 2022 08:46:21 +1000 Subject: [PATCH] tt-rss: ensure service starts after nixops keys are loaded --- profiles/tt-rss.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/profiles/tt-rss.nix b/profiles/tt-rss.nix index 462b71d..4c6668f 100644 --- a/profiles/tt-rss.nix +++ b/profiles/tt-rss.nix @@ -43,6 +43,16 @@ ]; }; + systemd = { + services = { + tt-rss = { + # Ensure tt-rss starts after nixops keys are loaded + after = ["tt-rss-dbpass-key.service"]; + wants = ["tt-rss-dbpass-key.service"]; + }; + }; + }; + services.postgresqlBackup.databases = ["tt_rss"]; services.nginx = {