From e6b1f1381a20f1e98a62250d5a2dbbed605f446e Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 24 Mar 2021 00:14:43 +0100 Subject: [PATCH] nextcloud: require postgresql for service setup --- services/nextcloud.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/nextcloud.nix b/services/nextcloud.nix index 8c87c6d..a7c0992 100644 --- a/services/nextcloud.nix +++ b/services/nextcloud.nix @@ -28,6 +28,12 @@ in ]; }; + # not handled by module + systemd.services.nextcloud-setup= { + requires = [ "postgresql.service" ]; + after = [ "postgresql.service" ]; + }; + services.postgresqlBackup = { databases = [ dbName ]; };