1 From 737f9dc0347e4c37316d219dee482dc298d9a6fb 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/2] 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 1baf08f462..cd3c1d4594 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 ];