nixos-mods/hwCommon: add common bootloader setup

secrix-issue25
Felix Stupp 1 year ago
parent a7adf14d6f
commit bcb774b84a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -56,6 +56,21 @@ in
config = lib.mkIf cfg.enable {
boot = {
# TODO adapt better
loader = {
efi.canTouchEfiVariables = lib.mkDefault true;
systemd-boot = {
enable = true;
editor = lib.mkDefault true; # TODO lockdown (disable this OR enable TPM PCR checks)
memtest86.enable = lib.mkDefault true;
};
};
};
hardware = {
cpu = lib.mkMerge [

Loading…
Cancel
Save