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