Skip to content

Commit ba013d7

Browse files
committed
Update nix build commands
1 parent bec44a6 commit ba013d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Build an air-gapped NixOS LiveCD image:
215215
ref=$(git ls-remote https://github.com/drduh/Yubikey-Guide refs/heads/master | awk '{print $1}')
216216

217217
nix build --experimental-features "nix-command flakes" \
218-
github:drduh/YubiKey-Guide/$ref#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage
218+
github:drduh/YubiKey-Guide/$ref?dir=nix#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage
219219
```
220220

221221
If you have this repository checked out:
@@ -229,7 +229,7 @@ nix flake update --commit-lock-file
229229
Build the image:
230230

231231
```console
232-
nix build --experimental-features "nix-command flakes" .#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage
232+
nix build --experimental-features "nix-command flakes" nix#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage
233233
```
234234

235235
Copy to USB drive:

0 commit comments

Comments
 (0)