commit | 81a2e0155021bb1434be643138fc8257ef1086cd | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Tue May 31 22:46:18 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Tue May 31 23:09:19 2022 +0100 |
tree | afe9042a5797613ccc35e3802d157b23d53dfd8d | |
parent | 8721b659cd302047952cbd1f7bd2aa889363d79d [diff] [blame] |
Add my nix scripts to path
diff --git a/src/utils/scriptsIn.nix b/src/utils/scriptsIn.nix new file mode 100644 index 0000000..9cf1699 --- /dev/null +++ b/src/utils/scriptsIn.nix
@@ -0,0 +1,2 @@ +# Modified from http://chriswarbo.net/projects/nixos/useful_hacks.html +lib: dir: map (name: dir + "/${name}") (lib.attrNames (lib.filterAttrs (name: _: lib.hasSuffix ".sh" name) (builtins.readDir dir)))