add direnv
This commit is contained in:
parent
0ecc2f7b06
commit
db6b90134d
3 changed files with 10 additions and 2 deletions
6
.envrc
Normal file
6
.envrc
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
if [[ $(type -t use_flake) != function ]]; then
|
||||
echo "ERROR: direnv's use_flake function missing. update direnv to v2.30.0 or later." && exit 1
|
||||
fi
|
||||
use flake
|
||||
dotenv
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
.direnv
|
||||
|
|
@ -5,8 +5,9 @@
|
|||
};
|
||||
|
||||
outputs =
|
||||
{ self, flake-parts, ... }:
|
||||
flake-parts.lib.mkFlake { inherit self; } {
|
||||
inputs@{ flake-parts, ... }:
|
||||
# https://flake.parts/module-arguments.html
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
flake = {
|
||||
# Put your original flake attributes here.
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue