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!";
|
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";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user