+39
-23
nixos/modules/system/boot/loader/grub/grub.nix
+39
-23
nixos/modules/system/boot/loader/grub/grub.nix
·········+assertion = !cfg.trustedBoot.enable || cfg.trustedBoot.systemHasTPM == "YES_TPM_is_activated";message = "Trusted GRUB can break the system! Confirm that the system has an activated TPM by setting 'systemHasTPM'.";
+15
-8
pkgs/tools/misc/grub/trusted.nix
+15
-8
pkgs/tools/misc/grub/trusted.nix
······inPCSystems = any (system: stdenv.system == system) (mapAttrsToList (name: _: name) pcSystems);······
+2
pkgs/top-level/all-packages.nix
+2
pkgs/top-level/all-packages.nix
···+trustedGrub-for-HP = callPackage_i686 ../tools/misc/grub/trusted.nix { for_HP_laptop = true; };