Skip to content

Commit

Permalink
chore: add direnv and vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Mar 15, 2024
1 parent a624657 commit dfc7f32
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
fi

use flake
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
result*
.decrypted~keys.yaml
.storage
.direnv
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"nixEnvSelector.nixFile": "${workspaceRoot}/flake.nix",
"[nix]": {
"editor.defaultFormatter": "kamadorueda.alejandra"
},
}

0 comments on commit dfc7f32

Please sign in to comment.