services/matrix: backup synapse media repo for now
This commit is contained in:
parent
624323f07a
commit
8474837509
|
@ -1,3 +1,6 @@
|
|||
# Portions of this file are sourced from
|
||||
# https://github.com/NickCao/flakes/blob/3b03efb676ea602575c916b2b8bc9d9cd13b0d85/nixos/hcloud/hio0/matrix.nix
|
||||
# https://github.com/linyinfeng/dotfiles/blob/b618b0fd16fb9c79ab7199ed51c4c0f98a392cea/nixos/profiles/services/matrix/default.nix
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Portions of this file are sourced from
|
||||
# https://github.com/NickCao/flakes/blob/3b03efb676ea602575c916b2b8bc9d9cd13b0d85/nixos/hcloud/hio0/matrix.nix
|
||||
# https://github.com/linyinfeng/dotfiles/blob/b618b0fd16fb9c79ab7199ed51c4c0f98a392cea/nixos/profiles/services/matrix/default.nix
|
||||
{ config, pkgs, ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."synapse/signing-key" = {
|
||||
sopsFile = config.sops.secretFiles.host;
|
||||
|
@ -78,4 +78,6 @@
|
|||
reverse_proxy /_synapse/* 127.0.0.1:${toString config.networking.ports.matrix-synapse}
|
||||
'';
|
||||
};
|
||||
|
||||
services.restic.backups.b2.paths = [ "/var/lib/matrix-synapse" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue