matrix: migrate to myne
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
84732d1033
commit
30145e16d8
1 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ in {
|
||||||
# Bind conduwuit service to media mount
|
# Bind conduwuit service to media mount
|
||||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/matrix/conduit.nix#L113
|
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/matrix/conduit.nix#L113
|
||||||
systemd.services.conduit = let
|
systemd.services.conduit = let
|
||||||
mount = "mnt-remote-conduwuit.mount";
|
mount = "mnt-local.mount";
|
||||||
in {
|
in {
|
||||||
after = [mount];
|
after = [mount];
|
||||||
bindsTo = [mount];
|
bindsTo = [mount];
|
||||||
|
@ -47,10 +47,10 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Create bind mount to remote media in lieu of conduwuit.toml setting
|
# Create bind mount to local media in lieu of conduwuit.toml setting
|
||||||
# https://nixos.wiki/wiki/Filesystems#Bind_mounts
|
# https://nixos.wiki/wiki/Filesystems#Bind_mounts
|
||||||
fileSystems."/var/lib/matrix-conduit/media" = {
|
fileSystems."/var/lib/matrix-conduit/media" = {
|
||||||
device = "/mnt/remote/conduwuit/media";
|
device = "/mnt/local/conduwuit/media";
|
||||||
fsType = "none";
|
fsType = "none";
|
||||||
options = ["bind"];
|
options = ["bind"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue