Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos-module: add settings key for the loader.conf #134

Merged
merged 1 commit into from
Mar 21, 2023
Merged

nixos-module: add settings key for the loader.conf #134

merged 1 commit into from
Mar 21, 2023

Conversation

kanashimia
Copy link
Contributor

This commit adds settings key for configuring systemd-boot to the lanzaboot nixos module. The are couple of the default values that are set from the usual nixos boot.loader.systemd-boot options, they are merged with the user defined configuration.

This commit modifies default loader.conf to boot into the latest nixos generation by default, for when you have other operating systems installed.

Primary reason behind this PR is to allow extensible loader configuration.


This closes #133

Is this too complicated? What do you think?

@RaitoBezarius
Copy link
Member

I am actually happy with the changes, I just need to run the CI locally because you're a new contributor. :)

This commit adds settings key for configuring systemd-boot to the lanzaboot
nixos module. The are couple of the default values that are set from the usual
nixos boot.loader.systemd-boot options, they are merged with the user defined
configuration.

This commit modifies default loader.conf to boot into the latest nixos
generation by default, for when you have other operating systems installed.

Primary reason behind this PR is to allow extensible loader configuration.

Co-authored-by: Raito Bezarius <masterancpp@gmail.com>
@RaitoBezarius
Copy link
Member

I fixed the tests and some formatting stuff, good to go for me.

@RaitoBezarius RaitoBezarius merged commit 7c55847 into nix-community:master Mar 21, 2023
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.

Remove hardcoding of the bootloader options
3 participants