mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 19:46:17 +01:00
d3e46e5413
Signed-off-by: Magic_RB <magic_rb@redalder.org>
14 lines
285 B
Nix
14 lines
285 B
Nix
nglib:
|
|
final: prev:
|
|
{
|
|
magic_rb = prev.magic_rb or {} // {
|
|
screenshot = (nglib prev.stdenv.system).writeSubstitutedShellScriptBin {
|
|
name = "screenshot";
|
|
file = ./screenshot;
|
|
substitutes = with prev; {
|
|
inherit busybox scrot xclip;
|
|
};
|
|
};
|
|
};
|
|
}
|