From d2fbc73636788a4f4629177c4cde90928ba18754 Mon Sep 17 00:00:00 2001 From: Cilly Leang Date: Sat, 20 Jun 2026 18:03:00 +1000 Subject: [PATCH] alyssum/restic: ignore all bind mounts --- hosts/alyssum/restic.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/alyssum/restic.nix b/hosts/alyssum/restic.nix index d84489c..eec0979 100644 --- a/hosts/alyssum/restic.nix +++ b/hosts/alyssum/restic.nix @@ -1,4 +1,4 @@ -{ config, ... }: { +{ config, lib, ... }: { age.secrets.restic_env.file = ../../secrets/restic_env.age; age.secrets.restic_pass.file = ../../secrets/restic_pass.age; age.secrets.restic_url.file = ../../secrets/restic_url.age; @@ -13,7 +13,8 @@ repositoryFile = config.age.secrets.restic_url.path; paths = ["/flower"]; - exclude = ["/flower/.snapshots"]; + exclude = ["/flower/.snapshots"] + ++ builtins.filter (x: lib.strings.hasPrefix "/flower" x) (builtins.attrNames config.me.binds); timerConfig = { # every 6 hours OnCalendar = "*-*-* 00,06,12,18:00:00";