2023-06-23 03:52:40 +00:00
|
|
|
#!/bin/sh
|
2023-05-16 16:26:57 +00:00
|
|
|
|
2023-06-23 03:52:40 +00:00
|
|
|
# first time
|
|
|
|
if [[ ! -d $(nix store add-path --name source --dry-run .) ]]; then
|
|
|
|
nix store add-path --name source .
|
|
|
|
fi
|
2023-05-16 16:26:57 +00:00
|
|
|
|
2023-06-23 03:52:40 +00:00
|
|
|
# shellcheck disable=SC1090
|
2023-07-04 08:43:44 +00:00
|
|
|
. "$(fetchurl "https://raw.githubusercontent.com/paisano-nix/direnv/bd36f51b9d566d8a36e230dab638abf3074625c3/lib" "sha256-IgQhKK7UHL1AfCUntJO2KCaIDJQotRnK2qC4Daxk+wI=")"
|
2022-12-25 09:55:30 +00:00
|
|
|
|
2023-06-23 03:52:40 +00:00
|
|
|
use envreload "//repo/userShells/${USER}" //repo/userShells/default //repo/userShells
|