{ inputs, ... }: { flake.overlays.magic-screenshot = final: prev: { magic-screenshot = final.writeSubstitutedShellScriptBin { name = "screenshot"; file = ./screenshot; substitutes = with prev; { inherit busybox scrot xclip; }; }; }; }