initial commit

This commit is contained in:
Sean Dugre 2025-11-30 10:16:23 -05:00
commit fe383f9333
7 changed files with 2073 additions and 0 deletions

19
.direnv/bin/nix-direnv-reload Executable file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -e
if [[ ! -d "/home/sdugre/www/testsite" ]]; then
echo "Cannot find source directory; Did you move it?"
echo "(Looking for "/home/sdugre/www/testsite")"
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
exit 1
fi
# rebuild the cache forcefully
_nix_direnv_force_reload=1 direnv exec "/home/sdugre/www/testsite" true
# Update the mtime for .envrc.
# This will cause direnv to reload again - but without re-building.
touch "/home/sdugre/www/testsite/.envrc"
# Also update the timestamp of whatever profile_rc we have.
# This makes sure that we know we are up to date.
touch -r "/home/sdugre/www/testsite/.envrc" "/home/sdugre/www/testsite/.direnv"/*.rc