add offsite backup support to borg

This commit is contained in:
2026-06-20 14:07:47 -05:00
parent e91ab96980
commit 168f95d219
+4 -4
View File
@@ -32,17 +32,17 @@ in {
description = "path to take daily backups to with borg!"; description = "path to take daily backups to with borg!";
}; };
offsite_user = lib.mkOption { offsite_user = lib.mkOption {
type = lib.types.path; type = lib.types.str;
default = "lifeboat"; default = "lifeboat";
description = "user to connect to offsite host with"; description = "user to connect to offsite host with";
}; };
offsite_target = lib.mkOption { offsite_target = lib.mkOption {
type = lib.types.path; type = lib.types.str;
default = "/holocron/archives/homelab"; default = "lifeboat.holocron.blue";
description = "ip or domain for offsite backups"; description = "ip or domain for offsite backups";
}; };
offsite_dir = lib.mkOption { offsite_dir = lib.mkOption {
type = lib.types.path; type = lib.types.str;
default = "blake/archives/homelab"; default = "blake/archives/homelab";
description = "path to rsync offsite backups to"; description = "path to rsync offsite backups to";
}; };