commit | 94feafd9f7baffc0db45e817948894d54cdd3007 | [log] [tgz] |
---|---|---|
author | Skyler Grey <minion@clicks.codes> | Mon Nov 20 19:32:44 2023 +0000 |
committer | Skyler Grey <minion@clicks.codes> | Mon Nov 20 19:44:26 2023 +0000 |
tree | b2165b5f304d1354eb90bfd291e6723177356e2b | |
parent | 083b1e3bd3313b2aff348bf69229e615aacdf3c8 [diff] |
Disable permalink_prefix for schildichat This makes sharing links link to us instead of matrix.to, which is very nice. Unfortunately, the links that mentioning a user give are also considered "share links", which means that they do not display properly on other clients and create embeds to our server This commit removes permalink_prefix entirely, which should revert it to matrix.to and fix mentioning Change-Id: I6c1574104f5319549a958430a6b36a214dcbe6ab Reviewed-on: https://git.clicks.codes/c/Clicks/NixFiles/+/22 Tested-by: Skyler Grey <minion@clicks.codes> Reviewed-by: Samuel Shuert <coded@clicks.codes>
To deploy these files to our server we use deploy-rs. If you've got a flakes-enabled nix installed on your system you can run
nix run github:serokell/deploy-rs
You can also install deploy-rs to your profile, at which point you'll be able to run
deploy
Secrets are stored in SOPS and deployed using scalpel.
If you have a service which needs to store secrets in its config file, please set systemd reloadTriggers and restartTriggers to automatically reload/restart the service whenever the configuration changes.
It's notable that changing the secrets will not trigger a reload/restart of the service. If you want to update the secrets without updating the rest of the configuration you currently need to manually restart the service. It's possible that this could be solved by using systemd paths to watch the files (see https://superuser.com/questions/1171751/restart-systemd-service-automatically-whenever-a-directory-changes-any-file-ins) but this is not a priority