290 current 2025-10-11 11:39:41 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# flake for blakes nixos config
|
||||
# define new devices in outputs
|
||||
# generation: 289 current 2025-10-11 11:25:44 25.05.20251006.20c4598 6.12.50 *
|
||||
# generation: 290 current 2025-10-11 11:39:41 25.05.20251006.20c4598 6.12.50 *
|
||||
{
|
||||
description = "blakes nix config";
|
||||
inputs = {
|
||||
|
||||
@@ -138,9 +138,9 @@ in
|
||||
};
|
||||
|
||||
# add to backups
|
||||
# modules.system.backups.baks = {
|
||||
# hass = { paths = [ cfg.data_dir ]; };
|
||||
# };
|
||||
modules.system.backups.baks = {
|
||||
${service} = { paths = [ cfg.data_dir ]; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -97,8 +97,8 @@ in
|
||||
};
|
||||
|
||||
# add to backups
|
||||
# modules.system.backups.baks = {
|
||||
# mosquitto = { paths = [ cfg.data_dir ]; };
|
||||
# };
|
||||
modules.system.backups.baks = {
|
||||
${service} = { paths = [ cfg.data_dir ]; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -112,8 +112,8 @@ in
|
||||
};
|
||||
|
||||
# add to backups
|
||||
# modules.system.backups.baks = {
|
||||
# zigbee2mqtt = { paths = [ cfg.data_dir ]; };
|
||||
# };
|
||||
modules.system.backups.baks = {
|
||||
${service} = { paths = [ cfg.data_dir ]; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -89,6 +89,7 @@ in
|
||||
(lib.flatten
|
||||
(lib.mapAttrsToList (_: bak: bak.paths) cfg.baks))
|
||||
}"
|
||||
archive="$timestamp-${toString config.networking.hostName}"
|
||||
borg create \
|
||||
--verbose \
|
||||
--filter AME \
|
||||
|
||||
Reference in New Issue
Block a user