From ba013d793a632c7f9f102f8d26c7c63279119d38 Mon Sep 17 00:00:00 2001 From: Xandor Schiefer Date: Mon, 27 Oct 2025 09:25:40 +0200 Subject: [PATCH] Update `nix build` commands --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f2f9347..3c67feb 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ Build an air-gapped NixOS LiveCD image: ref=$(git ls-remote https://github.com/drduh/Yubikey-Guide refs/heads/master | awk '{print $1}') nix build --experimental-features "nix-command flakes" \ - github:drduh/YubiKey-Guide/$ref#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage + github:drduh/YubiKey-Guide/$ref?dir=nix#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage ``` If you have this repository checked out: @@ -229,7 +229,7 @@ nix flake update --commit-lock-file Build the image: ```console -nix build --experimental-features "nix-command flakes" .#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage +nix build --experimental-features "nix-command flakes" nix#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage ``` Copy to USB drive: