This commit is contained in:
Brian Zalewski 2024-01-13 19:01:19 +00:00
parent ba509751ed
commit ad7263594e
2 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,7 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB0dU5JdFllajBnbFNsd0o0
NjlBL1NNUjg3M0ZkQjZhWW5VQVA2OXJRK0I0CjY0WnZPYmpNREdSNmpaaWtFMVEv
dW5WcWVqU2ZFVzRxV28rWXpVNGVSbW8KLS0tIENmTzJnclc2cDFuWGhtMnVqWmcz
bjQwTDBQMEVGTTRCQWNrVEdOVFROVGMKE011SxlmrtfuwS/NK46EpJcZmVpvs06M
GQZZx/dpGp9ASmapfASUS8xHRY8AaA==
-----END AGE ENCRYPTED FILE-----

View file

@ -31,8 +31,8 @@ linux:
# 1 - system default, 0 - never expire # 1 - system default, 0 - never expire
timeout: 0 timeout: 0
matrix: matrix:
url: matrix.org url: {{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "MATRIX_HOMESERVER")) }}{{- includeTemplate "secrets/MATRIX_HOMESERVER" | decrypt | trim -}}{{ else }}{{- env "MATRIX_HOMESERVER" -}}{{ end }}
roomId: install.doctor roomId: {{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "MATRIX_ROOM_ID")) }}{{- includeTemplate "secrets/MATRIX_ROOM_ID" | decrypt | trim -}}{{ else }}{{- env "MATRIX_ROOM_ID" -}}{{ end }}
userId: {{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "MATRIX_USERNAME")) }}{{- includeTemplate "secrets/MATRIX_USERNAME" | decrypt | trim -}}{{ else }}{{- env "MATRIX_USERNAME" -}}{{ end }} userId: {{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "MATRIX_USERNAME")) }}{{- includeTemplate "secrets/MATRIX_USERNAME" | decrypt | trim -}}{{ else }}{{- env "MATRIX_USERNAME" -}}{{ end }}
password: {{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "MATRIX_PASSWORD")) }}{{- includeTemplate "secrets/MATRIX_PASSWORD" | decrypt | trim -}}{{ else }}{{- env "MATRIX_PASSWORD" -}}{{ end }} password: {{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "MATRIX_PASSWORD")) }}{{- includeTemplate "secrets/MATRIX_PASSWORD" | decrypt | trim -}}{{ else }}{{- env "MATRIX_PASSWORD" -}}{{ end }}
notifico: notifico: