From dd1584574a454bc628ebadc2be41c93e7cc0418b Mon Sep 17 00:00:00 2001
From: tv <tv@krebsco.de>
Date: Sun, 6 Mar 2022 14:24:02 +0100
Subject: tinc: rsync using checksum

Because timestamps in the Nix store cannot be used.
---
 krebs/3modules/tinc.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'krebs/3modules')

diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix
index 444436149..4feb02d10 100644
--- a/krebs/3modules/tinc.nix
+++ b/krebs/3modules/tinc.nix
@@ -251,7 +251,7 @@ with import <stockholm/lib>;
         ];
         ExecStartPre = pkgs.writers.writeDash "init-tinc-${netname}" ''
           ${pkgs.coreutils}/bin/mkdir -p /etc/tinc
-          ${pkgs.rsync}/bin/rsync -vaL --delete \
+          ${pkgs.rsync}/bin/rsync -Lacv --delete \
             --chown ${cfg.user.name} \
             --chmod u=rwX,g=rX \
             ${cfg.confDir}/ /etc/tinc/${netname}/
-- 
cgit v1.2.3