feat!: migrate to NixOS #197
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Migrate to a pure Nix/NixOS setup, including the PXE boot process. This is still in a very early draft stage.
Obviously this will need a full cluster rebuild. Ideally, the end result should be smaller with fewer lines of code than the current one - excluding the lock/sum files, but this is not strictly required.
nixos-anywhere
sops-nix
pixiecore
library)nixos-rebuild
is sufficient or ifdeploy-rs
is needed.KUBECONFIG
Draft on decisions:
pixiecore
into the installer instead of running it as a separate process: While we can shell out to the pixiecore CLI, we need an API for dynamic configuration anyway, so it makes sense to use the pixiecore library to manage with function calls instead of API calls.