Compare commits
2 Commits
f0f208230a
...
b962fe6183
Author | SHA1 | Date |
---|---|---|
coolneng | b962fe6183 | |
coolneng | 9f3dedaa08 |
|
@ -11,17 +11,6 @@ let
|
|||
conn_max_lifetime = -1;
|
||||
};
|
||||
|
||||
latest-mautrix-signal = mautrix-signal.overrideAttrs (old: rec {
|
||||
version = "0.4.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mautrix";
|
||||
repo = "signal";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "UbetU1n9zD/mVFaJc9FECDq/Zell1TI/aYPsGXGB8Js=";
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
in {
|
||||
# Matrix server configuration
|
||||
services.dendrite = {
|
||||
|
@ -62,6 +51,13 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# Start dendrite after config files are mounted
|
||||
systemd.services.dendrite.unitConfig.RequiresMountsFor = [
|
||||
/var/lib/matrix-as-facebook
|
||||
/var/lib/matrix-as-signal
|
||||
/var/lib/matrix-as-telegram
|
||||
];
|
||||
|
||||
# Matrix bridges
|
||||
services.matrix-appservices = {
|
||||
homeserver = "dendrite";
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
# Start services after ZFS mount
|
||||
systemd.services.podman-mongodb.unitConfig.RequiresMountsFor =
|
||||
[ "vault.mount" ];
|
||||
[ /vault/mongodb ];
|
||||
systemd.services.podman-mqtt2prometheus.unitConfig.RequiresMountsFor =
|
||||
[ "vault.mount" ];
|
||||
[ /vault/mqtt2prometheus ];
|
||||
}
|
||||
|
|
|
@ -99,8 +99,7 @@
|
|||
|
||||
# Start services after ZFS mount
|
||||
systemd.services.syncthing.unitConfig.RequiresMountsFor =
|
||||
[ "vault-syncthing.mount" ];
|
||||
systemd.services.radicale.unitConfig.RequiresMountsFor =
|
||||
[ "vault-radicale.mount" ];
|
||||
[ /vault/syncthing ];
|
||||
systemd.services.radicale.unitConfig.RequiresMountsFor = [ /vault/radicale ];
|
||||
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@
|
|||
};
|
||||
|
||||
# Start services after ZFS mount
|
||||
systemd.services.gitea.unitConfig.RequiresMountsFor = [ "vault-git.mount" ];
|
||||
systemd.services.gitea.unitConfig.RequiresMountsFor = [ /vault/git ];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue