Nix : Use flakes in shell.

This commit is contained in:
Dmitry Voronin 2024-02-06 23:16:21 +03:00
parent 834de37abe
commit 1e3169125c

View file

@ -67,7 +67,7 @@ function nix_shell() {
local name="${1,,}"
if [[ "${name}" = "" ]]; then
NIX_SHELL=$(parse_alnum "${PWD##*/}") nix develop -f ./flake.nix
NIX_SHELL=$(parse_alnum "${PWD##*/}") nix develop
else
NIX_SHELL="${name}" nix develop -f ~/.config/linux/shell/"${name^}".nix
fi