]> Git — Sourcephile - julm/julm-nix.git/blob - nixpkgs/patches/syncoid/0001-nixos-sanoid-add-utilities-useful-to-syncoid.patch
nix: update to nixos-25.05
[julm/julm-nix.git] / nixpkgs / patches / syncoid / 0001-nixos-sanoid-add-utilities-useful-to-syncoid.patch
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
5
6 ---
7 nixos/modules/services/backup/sanoid.nix | 7 +++++++
8 1 file changed, 7 insertions(+)
9
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;
17 };
18 +
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; [
22 + lzop
23 + mbuffer
24 + ];
25 };
26
27 meta.maintainers = with lib.maintainers; [ lopsided98 ];
28 --
29 2.47.2
30