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 ]; };