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