Closed adamecooper closed 10 months ago
The apply
script is available in the nix store
:
ls -l /nix/store/9vi19cpxijbhf6h0kcr07wl40d53qbzv-source/apps/x86_64-linux/
total 32
-r-xr-xr-x 1 root root 4144 Dec 31 1969 apply
-r-xr-xr-x 1 root root 580 Dec 31 1969 build-switch
-r-xr-xr-x 1 root root 1019 Dec 31 1969 check-keys
-r-xr-xr-x 1 root root 1807 Dec 31 1969 copy-keys
-r-xr-xr-x 1 root root 688 Dec 31 1969 create-keys
-r-xr-xr-x 1 root root 1722 Dec 31 1969 install
-r-xr-xr-x 1 root root 2592 Dec 31 1969 install-with-secrets
I think the issue may be caused by using the relative path (./bin/apply
) to call apply
.
Hi @adamecooper, thanks for bringing this to my attention. I recently refactored a bunch and it looks like I introduced a regression. Let me take a look and see if I can run through the x86_64-linux
install.
./bin/apply
was the old directory path.
I made a fix to the incorrect ./bin/apply
path. Can you try again?
Hi @dustinlyons, I just ran the install
command again, and got a new error this time :)
...
+ run_disko
+ sudo nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nix-community/disko -- --mode zap_create_mount ./nixos/disk-config.nix
aborted: disko config must be an existing file or flake must be set
@adamecooper Oops, I missed that path too. Thanks for being the tester today :)
I just fixed that path.
Apologies, I don't have much time today to test the install end-to-end but this should work now.
@dustinlyons no worries, thank you so much for making these fixes! The installation appears to be proceeding successfully now. Will report back once it completes.
@dustinlyons, confirming that the installation was successful :tada: Time to start customizing. Thanks again for the help, and happy new year!
Awesome, great to hear. Thanks for finding some bugs! Happy new year and feel free to reach out if you have any Nix questions.
Hi Dustin,
I'm following the README instructions for NixOS, and the
install
step is erroring out:Do you know how to resolve this? Thanks for making this repository public by the way; it's been a very helpful learning resource.