-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.envrc
More file actions
26 lines (19 loc) · 562 Bytes
/
.envrc
File metadata and controls
26 lines (19 loc) · 562 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
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
use flake
layout python_uv
# if ! test -f .env; then
# echo "Descrypting credentials"
# sops -d .encrypted.env > .env
# fi
# if ! test -f bundle.jks; then
# echo "Descrypting bundle"
# sops -d bundle.encrypted.jks > bundle.jks
# fi
# dotenv
# if [ ! -f ./.git/hooks/pre-commit ];
# then
# pre-commit install
# fi