services/{postgres,synapse}: use toString

This commit is contained in:
LavaDesu 2022-02-13 21:12:10 +07:00
parent 3bea2397f5
commit e29a690a6d
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 4 additions and 4 deletions

View file

@ -3,8 +3,8 @@ let
dom = "lava.moe";
sub = "matrix.lava.moe";
dir = "/persist/matrix-synapse";
uid = config.ids.uids.matrix-synapse;
gid = config.ids.gids.matrix-synapse;
uid = toString config.ids.uids.matrix-synapse;
gid = toString config.ids.gids.matrix-synapse;
in {
networking.firewall.allowedTCPPorts = [ 80 443 ];
systemd.tmpfiles.rules = [ "d ${dir} 700 ${uid} ${gid}" ];