Run sops first

This commit is contained in:
Lillian-Violet 2023-11-23 15:14:44 +01:00
parent b6f4eeb5df
commit a4bff0401d

View file

@ -70,6 +70,10 @@
]; ];
}; };
systemd.services."sops-nix.service" = {
before = ["nextcloud-setup.service" "postgresql.service"];
};
# Ensure that postgres is running before running the setup # Ensure that postgres is running before running the setup
systemd.services."nextcloud-setup" = { systemd.services."nextcloud-setup" = {
requires = ["postgresql.service"]; requires = ["postgresql.service"];