bekkalokk/mediawiki, bicep/matrix/synapse: leave principal rsync target stubs

This commit is contained in:
h7x4
2026-01-27 00:26:42 +09:00
parent 2f8e9ea190
commit 73456de527
2 changed files with 36 additions and 0 deletions

View File

@@ -49,6 +49,24 @@ in {
lib.listToAttrs
];
services.rsync-pull-targets = {
enable = true;
locations.${cfg.uploadsDir} = {
user = config.services.root;
rrsyncArgs.ro = true;
authorizedKeysAttrs = [
"restrict"
"no-agent-forwarding"
"no-port-forwarding"
"no-pty"
"no-X11-forwarding"
];
# TODO: create new key on principal
enable = false;
publicKey = "";
};
};
services.mediawiki = {
enable = true;
name = "Programvareverkstedet";