feat: add flake.nix

This commit is contained in:
2025-03-25 17:30:11 +01:00
parent 938bd5c601
commit 746dbf0238
8 changed files with 2281 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/xeon0x/Projects/ClientServer" ]]; then
echo "Cannot find source directory; Did you move it?"
echo "(Looking for "/home/xeon0x/Projects/ClientServer")"
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/xeon0x/Projects/ClientServer" true
# Update the mtime for .envrc.
# This will cause direnv to reload again - but without re-building.
touch "/home/xeon0x/Projects/ClientServer/.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/xeon0x/Projects/ClientServer/.envrc" "/home/xeon0x/Projects/ClientServer/.direnv"/*.rc

View File

@@ -0,0 +1 @@
/nix/store/64wh73gawgn91x4mdp92dxazdy2v0v05-source

View File

@@ -0,0 +1 @@
/nix/store/s1fbk6a410xn8vcaj54iqv22agyn0ria-source

View File

@@ -0,0 +1 @@
/nix/store/n7xw4vhgmr3is6kljqb8g8z37gg9339m-nix-shell-env

File diff suppressed because it is too large Load Diff