mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-19 02:37:01 -04:00
update flakeify
This commit is contained in:
parent
b83e3161bc
commit
b7966b86db
3 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
if [ ! -e flake.nix ]; then
|
||||
nix flake new -t github:nix-community/nix-direnv .
|
||||
nix flake new -t github:sadan4/direnvTemplate .
|
||||
direnv allow
|
||||
elif [ ! -e .envrc ]; then
|
||||
echo "use flake" > .envrc
|
||||
direnv allow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue