Skip to content

Conversation

@colemickens
Copy link

Fixes #14.

This will allow the user to supply a user data that set custom nix options (like a NIX_PATH to a specific nixpkgs and setting nix.buildCores = 0 on a beefy Packet EPYC machine).

It feels hacky, but also not that bad and solves a need without any heavy lifting. Please note, I don't have PXE infra setup to test this, and I'm making assumptions about nixos-install operating similarly to nixos-rebuild switch... hopefully you can validate @grahamc.

Fixes grahamc#14.

This will allow the user to supply a user data that set custom nix options (like a NIX_PATH to a specific nixpkgs and setting `nix.buildCores = 0` on a beefy Packet EPYC machine).

It feels hacky, but also not that bad and solves a need without any heavy lifting. Please note, I don't have PXE infra setup to test this, and I'm making assumptions about `nixos-install` operating similarly to `nixos-rebuild switch`... hopefully you can validate @grahamc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant