Add keepCurrentBootedConfiguration option#443
Add keepCurrentBootedConfiguration option#443jbgi wants to merge 1 commit intonix-community:masterfrom
Conversation
d3ba3cc to
57a2831
Compare
|
This is a super useful feature and should probably be the default. @nikstur Do you have bandwidth to do a review here? |
57a2831 to
1770f2d
Compare
90c4291 to
86b7cb4
Compare
|
Why should this be a feature of Lanzaboote or any other boot loader? Couldn't this be a feature of |
86b7cb4 to
f4e76e4
Compare
|
Probably a solution built in NixOS would be ideal, following comment from a lix developer on this matter: https://git.lix.systems/lix-project/lix/issues/723#issuecomment-9321 |
|
I also think this should not be done by lanzaboote, especially since this could lead to non bootable entry. For instance:
With this option, lanzaboote would propose to boot on So, i also think preserving the current booted closure should be handle by deployment tools ( |
|
@nlewo The issue of non-bootable entries is not introduced by this patch though. In your scenario, given a |
to always keep booted system configuration in boot menu.
f4e76e4 to
329e900
Compare
to always keep booted system configuration in boot menu.
it is mostly a prof of concept (this is my first time writing some rust code) so probably need some work.
This is a fix/workaround for NixOS/nixpkgs#24158 / NixOS/nix#1095 (only when using lanzaboote of course).