Compare commits
1 Commits
b962fe6183
...
f0f208230a
Author | SHA1 | Date |
---|---|---|
coolneng | f0f208230a |
|
@ -11,6 +11,17 @@ let
|
||||||
conn_max_lifetime = -1;
|
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 {
|
in {
|
||||||
# Matrix server configuration
|
# Matrix server configuration
|
||||||
services.dendrite = {
|
services.dendrite = {
|
||||||
|
@ -51,13 +62,6 @@ 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
|
# Matrix bridges
|
||||||
services.matrix-appservices = {
|
services.matrix-appservices = {
|
||||||
homeserver = "dendrite";
|
homeserver = "dendrite";
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
# Start services after ZFS mount
|
# Start services after ZFS mount
|
||||||
systemd.services.podman-mongodb.unitConfig.RequiresMountsFor =
|
systemd.services.podman-mongodb.unitConfig.RequiresMountsFor =
|
||||||
[ /vault/mongodb ];
|
[ "vault.mount" ];
|
||||||
systemd.services.podman-mqtt2prometheus.unitConfig.RequiresMountsFor =
|
systemd.services.podman-mqtt2prometheus.unitConfig.RequiresMountsFor =
|
||||||
[ /vault/mqtt2prometheus ];
|
[ "vault.mount" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,7 +99,8 @@
|
||||||
|
|
||||||
# Start services after ZFS mount
|
# Start services after ZFS mount
|
||||||
systemd.services.syncthing.unitConfig.RequiresMountsFor =
|
systemd.services.syncthing.unitConfig.RequiresMountsFor =
|
||||||
[ /vault/syncthing ];
|
[ "vault-syncthing.mount" ];
|
||||||
systemd.services.radicale.unitConfig.RequiresMountsFor = [ /vault/radicale ];
|
systemd.services.radicale.unitConfig.RequiresMountsFor =
|
||||||
|
[ "vault-radicale.mount" ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,5 +25,5 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Start services after ZFS mount
|
# Start services after ZFS mount
|
||||||
systemd.services.gitea.unitConfig.RequiresMountsFor = [ /vault/git ];
|
systemd.services.gitea.unitConfig.RequiresMountsFor = [ "vault-git.mount" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue