home-manager: update style
Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
This commit is contained in:
parent
d77315a418
commit
d8d2a56f96
|
@ -102,7 +102,7 @@ function setHomeManagerNixPath() {
|
|||
if [[ -n "$path" ]] ; then
|
||||
if [[ -e "$path/flake.nix" ]] ; then
|
||||
# Set FLAKE_ARG if not set by --flake already
|
||||
FLAKE_ARG=${FLAKE_ARG:-$path}
|
||||
: "${FLAKE_ARG:=$path}"
|
||||
fi
|
||||
if [[ -e "$path" || "$path" =~ ^https?:// ]] ; then
|
||||
EXTRA_NIX_PATH+=("home-manager=$path")
|
||||
|
|
Loading…
Reference in a new issue