Instll steam and the zfs_clone_send / zfs_clone_recv scripts.

This commit is contained in:
Tom Alexander
2025-01-11 13:48:46 -05:00
parent af07d43c18
commit 1acf889c68
8 changed files with 106 additions and 7 deletions

View File

@@ -5,6 +5,20 @@
...
}:
let
zfs_clone_send =
(pkgs.writeScriptBin "zfs_clone_send" (builtins.readFile ./files/zfs_clone_send.bash)).overrideAttrs
(old: {
buildCommand = "${old.buildCommand}\n patchShebangs $out";
});
zfs_clone_recv =
(pkgs.writeScriptBin "zfs_clone_recv" (builtins.readFile ./files/zfs_clone_recv.bash)).overrideAttrs
(old: {
buildCommand = "${old.buildCommand}\n patchShebangs $out";
});
in
{
imports = [ ];
@@ -18,4 +32,8 @@
trim.enable = true;
};
environment.systemPackages = with pkgs; [
zfs_clone_send
zfs_clone_recv
];
}