From 368cb6b0d25db2ae23be42ad51584de059997e51 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 20 May 2024 16:10:21 +0200 Subject: refactor(sys): Modularize and move to `modules/system` or `pkgs` --- pkgs/sources/snap-sync-forked/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/sources/snap-sync-forked/default.nix (limited to 'pkgs/sources/snap-sync-forked/default.nix') diff --git a/pkgs/sources/snap-sync-forked/default.nix b/pkgs/sources/snap-sync-forked/default.nix new file mode 100644 index 00000000..5b086a5a --- /dev/null +++ b/pkgs/sources/snap-sync-forked/default.nix @@ -0,0 +1,24 @@ +{sysLib}: [ + (final: prev: { + snap-sync-forked = sysLib.writeShellScript { + name = "snap-sync-forked"; + src = ./snap-sync-forked.sh; + dependencies = with prev; [ + bash + btrfs-progs + coreutils + gawk + gnugrep + snapper + util-linux + + # optional: + libnotify + openssh + pv + rsync + sudo + ]; + }; + }) +] -- cgit 1.4.1