diff --git a/nixos/queen/nextcloud.nix b/nixos/queen/nextcloud.nix index 81fc0bc..0735bcd 100644 --- a/nixos/queen/nextcloud.nix +++ b/nixos/queen/nextcloud.nix @@ -70,6 +70,10 @@ ]; }; + systemd.services."sops-nix.service" = { + before = ["nextcloud-setup.service" "postgresql.service"]; + }; + # Ensure that postgres is running before running the setup systemd.services."nextcloud-setup" = { requires = ["postgresql.service"];