From 17a99b9bbff0b302e5f01f7970502128c06658a3 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 23 Nov 2023 13:11:03 +0100 Subject: [PATCH] Try and run sops first? --- nixos/queen/nextcloud.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/queen/nextcloud.nix b/nixos/queen/nextcloud.nix index 2f0e99b..af463d4 100644 --- a/nixos/queen/nextcloud.nix +++ b/nixos/queen/nextcloud.nix @@ -112,9 +112,12 @@ ]; }; + systemd.services."sops-nix.service" = { + before = ["nextcloud-setup" "mysql.service"]; + }; + systemd.services."nextcloud-setup" = { requires = ["mysql.service"]; after = ["mysql.service"]; }; - systemd.user.services."nextcloud-setup".Unit.After = ["sops-nix.service"]; }