Python Inventory classes: Auto-update
This commit is contained in:
@@ -109,7 +109,7 @@ in
|
|||||||
options.clan.borgbackup.exclude = lib.mkOption {
|
options.clan.borgbackup.exclude = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
example = [ "*.pyc" ];
|
example = [ "*.pyc" ];
|
||||||
default = [];
|
default = [ ];
|
||||||
description = ''
|
description = ''
|
||||||
Directories/Files to exclude from the backup.
|
Directories/Files to exclude from the backup.
|
||||||
Use * as a wildcard.
|
Use * as a wildcard.
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ class BorgbackupConfigDestination:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class BorgbackupConfig:
|
class BorgbackupConfig:
|
||||||
destinations: dict[str, BorgbackupConfigDestination] = field(default_factory = dict)
|
destinations: dict[str, BorgbackupConfigDestination] = field(default_factory = dict)
|
||||||
|
exclude: list[str] = field(default_factory = list)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|||||||
Reference in New Issue
Block a user