Initial commit

This commit is contained in:
AXOLOTsh
2026-01-28 11:41:51 +03:00
commit c1d66293aa
52 changed files with 817 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{ pkgs, ... } : {
environment.systemPackages = with pkgs; [
borgbackup
];
services.borgbackup.jobs.minecraft-java = {
paths = "/data/server-data/minecraft-java";
encryption.mode = "none";
environment.BORG_RSH = "ssh -i /root/.ssh/backup-ubuntu";
repo = "ssh://borg@10.4.10.14:22/home/borg/backups";
compression = "auto,zstd";
startAt = "daily";
extraArgs = "--show-rc --stats";
exclude = [
"*.db-wal"
"*.db-shm"
"/data/server-data/minecraft-java/logs"
];
};
}