commit | fb2ba068bbb6e71a46e9658011f06b996eb54a7e | [log] [tgz] |
---|---|---|
author | Samuel Shuert <coded@clicks.codes> | Tue Apr 02 15:25:28 2024 -0400 |
committer | Skyler Grey <minion@clicks.codes> | Tue Apr 02 19:29:46 2024 +0000 |
tree | b49b17cdc12d52fe2d521edc2b1fa26de17707a5 | |
parent | efb3ee27993e1a04eda0a6026527a44b5082657b [diff] |
Update SSH Keys for user coded Change-Id: I29497b55ab320edf14b8b8b57233ad104c0ad636 Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/581 Tested-by: Skyler Grey <minion@clicks.codes> Reviewed-by: Skyler Grey <minion@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