nixpkgs/nixos/modules/system
Thomas Watson ca84c463b9 nixos/systemd-boot: pass EFI variable flags during update too
8f2babd032 was partially reverted by mistake. Original message below

---

On some systems, EFI variables are not supported or otherwise wonky.
bootctl attempting to access them causes failures during bootloader
installations and updates. For such systems, NixOS provides the options
`boot.loader.efi.canTouchEfiVariables` and
`boot.loader.systemd-boot.graceful` which pass flags to bootctl that
change whether and how EFI variables are accessed.

Previously, these flags were only passed to bootctl during an install
operation. However, they also apply during an update operation, which
can cause the same sorts of errors. This change passes the flags during
update operations as well to prevent those errors.

Fixes https://github.com/NixOS/nixpkgs/issues/151336
2023-11-12 02:07:25 -05:00
..
activation Merge pull request #258071 from helsinki-systems/feat/stc-lock 2023-10-30 10:49:50 +01:00
boot nixos/systemd-boot: pass EFI variable flags during update too 2023-11-12 02:07:25 -05:00
etc nixos/etc: keep directories in derivation name 2023-06-07 00:08:43 +02:00
build.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00