chore: Implement code review suggestions
This commit is contained in:
parent
3fe23fdc38
commit
e0eb0b4617
9 changed files with 203 additions and 14 deletions
4
.envrc
4
.envrc
|
|
@ -1,12 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Install nix_direnv for better caching and handling of nix configuration
|
||||
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
|
||||
fi
|
||||
watch_file nix/*.nix
|
||||
# shell.nix allows using devenv on nix systems that don't have devenv installed
|
||||
use nix
|
||||
|
||||
export DIRENV_WARN_TIMEOUT=20s
|
||||
export DIRENV_WARN_TIMEOUT=30s
|
||||
|
||||
eval "$(devenv direnvrc)"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue