mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
disko: enable flakes if flake was given
This commit is contained in:
parent
d61fd1522b
commit
90178d4391
1 changed files with 1 additions and 0 deletions
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 a new issue