From 737f9dc0347e4c37316d219dee482dc298d9a6fb Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Sat, 27 Nov 2021 02:42:20 +0100 Subject: [PATCH 1/2] 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 1baf08f462..cd3c1d4594 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.47.2