17 lines
299 B
Nix
17 lines
299 B
Nix
|
{ secret, ... }:
|
||
|
|
||
|
{
|
||
|
# Synapse
|
||
|
|
||
|
systemd.tmpfiles.rules = [
|
||
|
"d /etc/container-matrix/synapse 0755 0 0"
|
||
|
];
|
||
|
|
||
|
environment.etc."container-matrix/synapse/homeserver.yaml" = {
|
||
|
source = ../../secret/container/matrix/config/homeserver.yaml;
|
||
|
mode = "0640";
|
||
|
uid = 0;
|
||
|
gid = 0;
|
||
|
};
|
||
|
}
|