Added NixOS configs

This commit is contained in:
2021-03-31 05:41:15 +05:30
commit 2680d535b5
21 changed files with 1902 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{lib,stdenv,fetchFromGitHub}:
stdenv.mkDerivation rec{
name = "customscripts";
src = ./scripts;
unpackPhase = ":";
installPhase = ''
mkdir -p $out/bin
cp -r $src/* $out/bin
for x in $out/bin/*;do chmod +x "$x";done
'';
# src = fetchFromGitHub {
# owner = "idcretard";
# repo = "custom-scripts";
# rev = "86eaba74a01c8bafd8c81885eddbe9cd6f381e64";
# sha256 = "1g1z3mlp7h2ig1rmgabsbhcdnpgy65yki0dj3pr100jw202i6jqq";
# };
}