add offsite backup support to borg
This commit is contained in:
@@ -32,17 +32,17 @@ in {
|
||||
description = "path to take daily backups to with borg!";
|
||||
};
|
||||
offsite_user = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
type = lib.types.str;
|
||||
default = "lifeboat";
|
||||
description = "user to connect to offsite host with";
|
||||
};
|
||||
offsite_target = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
default = "/holocron/archives/homelab";
|
||||
type = lib.types.str;
|
||||
default = "lifeboat.holocron.blue";
|
||||
description = "ip or domain for offsite backups";
|
||||
};
|
||||
offsite_dir = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
type = lib.types.str;
|
||||
default = "blake/archives/homelab";
|
||||
description = "path to rsync offsite backups to";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user