mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
disko: enable flakes if flake was given
This commit is contained in:
parent
d61fd1522b
commit
90178d4391
1
disko
1
disko
@ -98,6 +98,7 @@ if [[ ! -z "${flake+x}" ]]; then
|
||||
fi
|
||||
nix_args+=("--arg" "flake" "$flake")
|
||||
nix_args+=("--argstr" "flakeAttr" "$flakeAttr")
|
||||
nix_args+=(--extra-experimental-features flakes)
|
||||
elif [[ ! -z "${disko_config+x}" ]] && [[ -e "$disko_config" ]]; then
|
||||
nix_args+=("--arg" "diskoFile" "$disko_config")
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user