nixpkgs/nixos/modules
Thomas Watson 8f2babd032 nixos/systemd-boot: pass EFI variable flags during update too
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-01-19 23:52:57 -06:00
..
config nixos/swap: fix creation on BTRFS and refactor assertions 2023-01-17 06:47:21 +08:00
hardware Merge master into staging-next 2023-01-06 00:02:28 +00:00
i18n/input-method nixos/manual: move "edit the MD file" comments to generated XML 2023-01-10 12:34:37 +01:00
installer nixos/installation-cd-minimal: include HTML doc 2023-01-19 00:30:33 +01:00
misc nixos/documentation.man.mandb: Add skipPackages option, and include nixos-version 2023-01-16 22:24:02 +01:00
profiles Merge pull request #208956 from SuperSandro2000/profile-base-tcpdump 2023-01-17 01:20:31 +01:00
programs Merge pull request #209538 from voidzero/zsh-syntax-hl.regexp 2023-01-15 00:26:10 +01:00
security Merge master into staging-next 2023-01-13 18:01:34 +00:00
services nixos/nomad: fix multi-plugin-dir path 2023-01-18 22:22:43 -08:00
system nixos/systemd-boot: pass EFI variable flags during update too 2023-01-19 23:52:57 -06:00
tasks nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
testing Merge pull request #207801 from ElvishJerricco/systemd-stage-1-test-instrumentation 2022-12-28 01:43:03 +01:00
virtualisation nixos/qemu-vm: fix useBootLoader builds on aarch64-linux 2023-01-19 23:28:01 -06:00
module-list.nix gmrender-resurrect: Add gmediarender service 2023-01-16 17:28:56 +01:00
rename.nix modules: add mkAliasOptionModuleMD 2023-01-05 02:33:13 +01:00