blob: 2900d596d8e33a9a395db3d3b922c553e5ebdb26 [file] [log] [blame]
{ pkgs, lib, ... }: let
scripts = import ../../utils/scriptsIn.nix lib ../../../scripts;
in {
home.packages = map (f: pkgs.writeShellScriptBin
(builtins.elemAt (builtins.match "^(.*/)*(.*)\\.sh$" (toString f)) 1)
(builtins.readFile f)
) scripts;
}