From e3b572ef9686a657533c8650bbe9af2fc2ac39e5 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sun, 18 Jan 2026 18:57:46 +0100 Subject: [PATCH] syncthing: Sync zsh history file --- modules/system/services/syncthing.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/system/services/syncthing.nix b/modules/system/services/syncthing.nix index a72892b..1cf3966 100644 --- a/modules/system/services/syncthing.nix +++ b/modules/system/services/syncthing.nix @@ -44,6 +44,7 @@ in "Pictures" "Projects" "Videos" + ".local/share/zsh" ]; }; }; @@ -145,7 +146,10 @@ in restic.backups.syncthing = lib.mkIf cfg.doBackups { conflictingService = "syncthing.service"; paths = [ dataDir ]; - extraConfig.exclude = [ "${dataDir}/Downloads" ]; + extraConfig.exclude = [ + "${dataDir}/Downloads" + "${dataDir}/.local/share/zsh" + ]; }; };