From d4b38ba1e7234f79f19efaa8cba772aa59b7db95 Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 11 Oct 2025 11:10:21 -0500 Subject: [PATCH] 288 current 2025-10-11 10:03:00 25.05.20251006.20c4598 6.12.50 * --- .../homelab/services/smarthome/homeassistant/default.nix | 6 +++--- modules/homelab/services/smarthome/mosquitto/default.nix | 6 +++--- modules/homelab/services/smarthome/zigbee2mqtt/default.nix | 6 +++--- modules/homelab/services/vaultwarden/default.nix | 2 +- modules/system/backups.nix | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/homelab/services/smarthome/homeassistant/default.nix b/modules/homelab/services/smarthome/homeassistant/default.nix index a05678d..66af805 100644 --- a/modules/homelab/services/smarthome/homeassistant/default.nix +++ b/modules/homelab/services/smarthome/homeassistant/default.nix @@ -138,9 +138,9 @@ in }; # add to backups - modules.system.backups.baks = { - hass = { paths = [ cfg.data_dir ]; }; - }; +# modules.system.backups.baks = { +# hass = { paths = [ cfg.data_dir ]; }; +# }; }; } diff --git a/modules/homelab/services/smarthome/mosquitto/default.nix b/modules/homelab/services/smarthome/mosquitto/default.nix index 226d433..ef02533 100644 --- a/modules/homelab/services/smarthome/mosquitto/default.nix +++ b/modules/homelab/services/smarthome/mosquitto/default.nix @@ -97,8 +97,8 @@ in }; # add to backups - modules.system.backups.baks = { - mosquitto = { paths = [ cfg.data_dir ]; }; - }; +# modules.system.backups.baks = { +# mosquitto = { paths = [ cfg.data_dir ]; }; +# }; }; } diff --git a/modules/homelab/services/smarthome/zigbee2mqtt/default.nix b/modules/homelab/services/smarthome/zigbee2mqtt/default.nix index 4d75881..5cb1ced 100644 --- a/modules/homelab/services/smarthome/zigbee2mqtt/default.nix +++ b/modules/homelab/services/smarthome/zigbee2mqtt/default.nix @@ -112,8 +112,8 @@ in }; # add to backups - modules.system.backups.baks = { - zigbee2mqtt = { paths = [ cfg.data_dir ]; }; - }; +# modules.system.backups.baks = { +# zigbee2mqtt = { paths = [ cfg.data_dir ]; }; +# }; }; } diff --git a/modules/homelab/services/vaultwarden/default.nix b/modules/homelab/services/vaultwarden/default.nix index 4e70eb8..4a1e3a6 100644 --- a/modules/homelab/services/vaultwarden/default.nix +++ b/modules/homelab/services/vaultwarden/default.nix @@ -112,7 +112,7 @@ in # add to backups modules.system.backups.baks = { - vaultwarden = { paths = [ cfg.data_dir ]; }; + ${service} = { paths = [ cfg.data_dir ]; }; }; }; } diff --git a/modules/system/backups.nix b/modules/system/backups.nix index 088f1a8..c600fca 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -24,7 +24,7 @@ in options.modules.system.backups = { enable = lib.mkEnableOption "enables backups with borg"; 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 = {}; description = "backup jobs, nested attribute sets should be = paths []"; };