mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
580fec0979
Signed-off-by: Magic_RB <magic_rb@redalder.org>
14 lines
341 B
Nix
14 lines
341 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.overlays.magic-screenshot =
|
|
final: prev: {
|
|
magic-screenshot = (final.writeSubstitutedShellScriptBin {
|
|
name = "screenshot";
|
|
file = ./screenshot;
|
|
substitutes = with prev; {
|
|
inherit busybox scrot xclip;
|
|
};
|
|
}) // { meta.mainProgram = "screenshot"; };
|
|
};
|
|
}
|