diff --git a/hosts/VEGAS/services/nextcloud/default.nix b/hosts/VEGAS/services/nextcloud/default.nix index b83afb6..171faca 100644 --- a/hosts/VEGAS/services/nextcloud/default.nix +++ b/hosts/VEGAS/services/nextcloud/default.nix @@ -52,5 +52,8 @@ in addSSL = true; enableACME = true; }; - systemd.services.phpfpm-nextcloud.aliases = [ "nextcloud.service" ]; + systemd.services = { + phpfpm-nextcloud.aliases = [ "nextcloud.service" ]; + nextcloud-setup.after = [ "postgresql.service" ]; + }; }