mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-18 02:07:02 -04:00
update flakeify
This commit is contained in:
parent
b83e3161bc
commit
b7966b86db
3 changed files with 6 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -7,3 +7,6 @@
|
||||||
[submodule "light.config"]
|
[submodule "light.config"]
|
||||||
path = dotfiles/light.config
|
path = dotfiles/light.config
|
||||||
url = git@github.com:sadan4/light.config.git
|
url = git@github.com:sadan4/light.config.git
|
||||||
|
[submodule "dotfiles/direnvTemplate"]
|
||||||
|
path = dotfiles/direnvTemplate
|
||||||
|
url = git@github.com:sadan4/direnvTemplate
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
if [ ! -e flake.nix ]; then
|
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
|
elif [ ! -e .envrc ]; then
|
||||||
echo "use flake" > .envrc
|
echo "use flake" > .envrc
|
||||||
direnv allow
|
direnv allow
|
||||||
|
|
1
dotfiles/direnvTemplate
Submodule
1
dotfiles/direnvTemplate
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 7f5ded7f1c3f9fb610ab51229b8c91c5de0e9797
|
Loading…
Add table
Add a link
Reference in a new issue