From 83af87a20653e11be4cc0d39c9c3fce38c36c039 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 2 Jan 2025 08:48:22 +0100 Subject: [PATCH 1/2] nixos/zfs-replication: use expanded arguments for clarity --- nixos/modules/services/backup/zfs-replication.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/backup/zfs-replication.nix b/nixos/modules/services/backup/zfs-replication.nix index ed635a35617be..063ddf6a79d72 100644 --- a/nixos/modules/services/backup/zfs-replication.nix +++ b/nixos/modules/services/backup/zfs-replication.nix @@ -80,9 +80,9 @@ in let args = lib.map lib.escapeShellArg ( [ - "-l" + "--user" cfg.username - "-i" + "--identity-file" cfg.identityFilePath cfg.host cfg.remoteFilesystem From 28f43d4628fc7f1d039efde754fce409a7788994 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 2 Jan 2025 08:48:37 +0100 Subject: [PATCH 2/2] nixos/zfs-replication: add --verbose to command line arguments --- nixos/modules/services/backup/zfs-replication.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/backup/zfs-replication.nix b/nixos/modules/services/backup/zfs-replication.nix index 063ddf6a79d72..3828db386f662 100644 --- a/nixos/modules/services/backup/zfs-replication.nix +++ b/nixos/modules/services/backup/zfs-replication.nix @@ -80,6 +80,7 @@ in let args = lib.map lib.escapeShellArg ( [ + "--verbose" "--user" cfg.username "--identity-file"