Run sops first
This commit is contained in:
parent
b6f4eeb5df
commit
a4bff0401d
|
@ -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"];
|
||||||
|
|
Loading…
Reference in a new issue