ALT-F4-LLC / kickstart.nix

Kickstart your Nix environment.
Apache License 2.0
171 stars 35 forks source link

nixpkgs.hostPlatform defaults to aarch64-linux #8

Closed hbjydev closed 1 year ago

hbjydev commented 1 year ago

https://github.com/ALT-F4-LLC/kickstart.nix/blob/c6335d1565f062f4af17987cd1b64c812685e0c9/system/nixos-hardware-configuration.nix#L35

Should this not be x86_64-linux as a default? It's the more usual Linux arch

erikreinert commented 1 year ago

Yeah we need to pass the param down in the function. I'll patch it now.

PhilTaken commented 1 year ago

I would suggest moving this into modules/configuration.nix and passing the system as an argument from the flake instead of hardcoding it

erikreinert commented 1 year ago

This has been fixed!