From e10ed8471e68d333f41d83b893a3a46659605ce6 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Sat, 27 Nov 2021 02:42:20 +0100 Subject: [PATCH 1/3] nixos/sanoid: add utilities useful to syncoid --- nixos/modules/services/backup/sanoid.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/services/backup/sanoid.nix b/nixos/modules/services/backup/sanoid.nix index 1baf08f4622f..cd3c1d4594c2 100644 --- a/nixos/modules/services/backup/sanoid.nix +++ b/nixos/modules/services/backup/sanoid.nix @@ -254,6 +254,13 @@ in after = [ "zfs.target" ]; startAt = cfg.interval; }; + + # Put those packages in the global environment + # so that syncoid can find them when targeting this host through ssh. + environment.systemPackages = with pkgs; [ + lzop + mbuffer + ]; }; meta.maintainers = with lib.maintainers; [ lopsided98 ]; -- 2.49.0