about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/snap-sync-forked/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nixpkgs/pkgs/snap-sync-forked/default.nix')
-rw-r--r--sys/nixpkgs/pkgs/snap-sync-forked/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/snap-sync-forked/default.nix b/sys/nixpkgs/pkgs/snap-sync-forked/default.nix
new file mode 100644
index 00000000..55e2bd27
--- /dev/null
+++ b/sys/nixpkgs/pkgs/snap-sync-forked/default.nix
@@ -0,0 +1,24 @@
+{sysLib}: [
+  (self: super: {
+    snap-sync-forked = sysLib.writeShellScriptWithLibrary {
+      name = "snap-sync-forked";
+      src = ./snap-sync-forked;
+      dependencies = with self; [
+        bash
+        btrfs-progs
+        coreutils
+        gawk
+        gnugrep
+        snapper
+        util-linux
+
+        # optional:
+        libnotify
+        openssh
+        pv
+        rsync
+        sudo
+      ];
+    };
+  })
+]