From 75f86b89335447ce8f47d54beca3aa0f8732e4f3 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 23 Nov 2023 15:14:44 +0100 Subject: [PATCH] Run sops first --- nixos/queen/nextcloud.nix | 4 ++++ 1 file changed, 4 insertions(+) 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"];