services/{postgres,synapse}: use toString
This commit is contained in:
parent
3bea2397f5
commit
e29a690a6d
2 changed files with 4 additions and 4 deletions
|
|
@ -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}" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue