dustinlyons / nixos-config

General purpose Nix configuration for macOS / NixOS with starter templates + step-by-step guides ✨
BSD 3-Clause "New" or "Revised" License
1.79k stars 113 forks source link

NixOS installation fails #123

Open DeeKahy opened 2 weeks ago

DeeKahy commented 2 weeks ago

IMG20241107155649.jpg

I'm not sure where to even begin, but I've followed the instructions in the readme for no secrets three times and made sure my USB image isn't corrupted.

The config looks really cool, so any help would be appreciated.

dustinlyons commented 2 weeks ago

This looks upstream, some package in nixpkgs is broken and you're encountering that when trying to build it. Usually when this happens I just wait for it to be fixed upstream and try again later.

We don't do anything specifically with time-machine, nor do I even know what that is. nixpkgs is updated constantly, so I imagine it will be resolved soon.

You can also try to run nixos-install --flake .#x86_64-linux --show-trace to see if it shows you the package that is broken. Run that after it fails (at the prompt you see in the screenshot).

dustinlyons commented 2 weeks ago

I recently updated my flake (on macOS) and ran into the same error. Looks like it's coming from the python32.virtualenv package. I got around it by changing a few lines in packages.nix: https://github.com/dustinlyons/nixos-config/commit/db5a85ea8359d7ae7ff701b03e072d65fc5a678d#diff-1cb8cf5ce2975fa015cfde4cc438afb67a1ea76159e4466d64160526f725fbb7R97

DeeKahy commented 1 week ago

It seems to get further now (I think) but it still fails.

IMG20241108203721.jpg

in case i do something wrong here is my step by step.

  1. reboot into ventoy.
  2. select nixos minimal.
  3. start the second boot option because i have nvidia.
  4. write lsblk to make sure im selecting the correct drive (nvme0n1)
  5. run sudo nix run --extra-experimental-features 'nix-command flakes' github:dustinlyons/nixos-config#install
  6. fill out my information, and wite nvme0n1 as my desired option.
  7. after some time i get the error.