diff options
author | lassulus <lassulus@lassul.us> | 2022-11-10 12:34:45 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-11-10 12:34:45 +0100 |
commit | 90178d4391643e349565cb953d5f6e212ad6061d (patch) | |
tree | 89ca50b07a18f1acaccab8061d70c842b28cc48c | |
parent | d61fd1522b0477b376418edb9dc1ea336af29f89 (diff) |
disko: enable flakes if flake was given
-rwxr-xr-x | disko | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |