From 9d2d4606400fd62623ed1e030768ef5f9d0c39f4 Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Wed, 15 Jul 2026 10:08:48 +1000 Subject: [PATCH] add missing experimental features options to eval commands --- installer.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer.nix b/installer.nix index 5324fd7..8419673 100644 --- a/installer.nix +++ b/installer.nix @@ -43,7 +43,7 @@ export FLAKE_BASE_URL="git+https://gitea.lan.ddnsgeek.com/beatzaplenty/nixos.git echo "Fetching available NixOS hosts from flake..." mapfile -t options < <( - nix eval --json --no-use-registries --no-accept-flake-config --extra-experimental-features flakes --extra-experimental-features nix-command\ + nix eval --json --no-use-registries --no-accept-flake-config --extra-experimental-features "flakes nix-command" \ "''${FLAKE_BASE_URL}#nixosConfigurations" \ --apply builtins.attrNames \ | jq -r '.[]' @@ -87,7 +87,7 @@ fi # export TMPDIR=/mnt/install-tmp # nixos-install --flake "''${FLAKE_BASE_URL}#''${choice}" --no-root-password --no-write-lock-file -if nix eval --refresh --json "''${FLAKE_BASE_URL}#nixosConfigurations.''${choice}.config.disko.devices.disk.main.device" >/dev/null 2>&1; then +if nix eval --refresh --json --extra-experimental-features "flakes nix-command" "''${FLAKE_BASE_URL}#nixosConfigurations.''${choice}.config.disko.devices.disk.main.device" >/dev/null 2>&1; then disko --mode destroy,format,mount \ --flake "''${FLAKE_BASE_URL}#''${choice}" else