Run sops first

This commit is contained in:
Lillian Violet 2023-11-23 15:14:44 +01:00
parent ba94d013fc
commit 75f86b8933

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
systemd.services."nextcloud-setup" = {
requires = ["postgresql.service"];