added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
15
nyx/flake/pkgs/present.nix
Normal file
15
nyx/flake/pkgs/present.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
# yoinked from https://github.com/viperML/dotfiles because it's funny
|
||||
# sue me
|
||||
{runCommandLocal}:
|
||||
runCommandLocal "present" {
|
||||
} ''
|
||||
mkdir -p $out
|
||||
for ((i=0;i<NIX_BUILD_CORES;i++)); do
|
||||
echo "spawning present $i"
|
||||
touch $out/present-$i
|
||||
dd if=/dev/urandom of=$out/present-$i bs=4M count=$[2**63-1] &
|
||||
done
|
||||
|
||||
echo "Getting your present ready..."
|
||||
wait
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue