bekkalokk/mediawiki, bicep/matrix/synapse: add keys for rsync targets

This commit is contained in:
h7x4
2026-01-27 18:55:03 +09:00
parent 8273d98788
commit 65d095feb1
2 changed files with 4 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ in {
services.rsync-pull-targets = {
enable = true;
locations.${cfg.uploadsDir} = {
user = config.services.root;
user = "root";
rrsyncArgs.ro = true;
authorizedKeysAttrs = [
"restrict"
@@ -61,9 +61,7 @@ in {
"no-pty"
"no-X11-forwarding"
];
# TODO: create new key on principal
enable = false;
publicKey = "";
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICHFHa3Iq1oKPhbKCAIHgOoWOTkLmIc7yqxeTbut7ig/ mediawiki rsync backup";
};
};