288 current 2025-10-11 10:03:00 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -138,9 +138,9 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# add to backups
|
# add to backups
|
||||||
modules.system.backups.baks = {
|
# modules.system.backups.baks = {
|
||||||
hass = { paths = [ cfg.data_dir ]; };
|
# hass = { paths = [ cfg.data_dir ]; };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -97,8 +97,8 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# add to backups
|
# add to backups
|
||||||
modules.system.backups.baks = {
|
# modules.system.backups.baks = {
|
||||||
mosquitto = { paths = [ cfg.data_dir ]; };
|
# mosquitto = { paths = [ cfg.data_dir ]; };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,8 +112,8 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# add to backups
|
# add to backups
|
||||||
modules.system.backups.baks = {
|
# modules.system.backups.baks = {
|
||||||
zigbee2mqtt = { paths = [ cfg.data_dir ]; };
|
# zigbee2mqtt = { paths = [ cfg.data_dir ]; };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ in
|
|||||||
|
|
||||||
# add to backups
|
# add to backups
|
||||||
modules.system.backups.baks = {
|
modules.system.backups.baks = {
|
||||||
vaultwarden = { paths = [ cfg.data_dir ]; };
|
${service} = { paths = [ cfg.data_dir ]; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ in
|
|||||||
options.modules.system.backups = {
|
options.modules.system.backups = {
|
||||||
enable = lib.mkEnableOption "enables backups with borg";
|
enable = lib.mkEnableOption "enables backups with borg";
|
||||||
baks = lib.mkOption {
|
baks = lib.mkOption {
|
||||||
type = lib.types.attrsOf (lib.types.attrsOf (lib.types.listOf lib.types.path));
|
type = lib.types.attrsOf (lib.types.attrsOf (lib.types.listOf lib.types.path));
|
||||||
default = {};
|
default = {};
|
||||||
description = "backup jobs, nested attribute sets should be <bak_name> = paths [<list_of_paths>]";
|
description = "backup jobs, nested attribute sets should be <bak_name> = paths [<list_of_paths>]";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user