From e55567b33e3551c58d0cbbf2dc4bf715617b09bd Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Tue, 11 Aug 2026 22:32:32 +0200 Subject: [PATCH] allow --delete-after for rsync --- hosts/www/openssh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/www/openssh.nix b/hosts/www/openssh.nix index 288b5d3..cdf2abb 100644 --- a/hosts/www/openssh.nix +++ b/hosts/www/openssh.nix @@ -8,8 +8,8 @@ isSystemUser = true; group = "deploy"; openssh.authorizedKeys.keys = [ - "command=\"${pkgs.rsync}/bin/rsync --server -vlogDtpre.iLsfxCIvu . /srv/http/www/\",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM35LG+xuDaoHQ2bYD4eRc3P6Cl3JVYntoP5Gu9R+mZC deploy@www.berlin.ccc.de production" - "command=\"${pkgs.rsync}/bin/rsync --server -vlogDtpre.iLsfxCIvu . /srv/http/www-staging/\",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKjjLtnGf7w5D/ON+P2HpMZ5HA2fWp5YSQMGMuu5CjUt deploy@www.berlin.ccc.de staging" + "command=\"${pkgs.rsync}/bin/rsync --server -vlogDtpre.iLsfxCIvu --delete-after . /srv/http/www/\",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM35LG+xuDaoHQ2bYD4eRc3P6Cl3JVYntoP5Gu9R+mZC deploy@www.berlin.ccc.de production" + "command=\"${pkgs.rsync}/bin/rsync --server -vlogDtpre.iLsfxCIvu --delete-after . /srv/http/www-staging/\",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKjjLtnGf7w5D/ON+P2HpMZ5HA2fWp5YSQMGMuu5CjUt deploy@www.berlin.ccc.de staging" ]; }; groups.deploy = { };