mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 00:37:14 +08:00
remove systemd-boot from hardware profiles (#307)
- We should not enable canTouchEfiVariables by default as this wears out the EFI storage. - We should not set systemd-boot as default. This is up to the user to decide. There are exceptions when hardware only supports specific bootloaders so.
This commit is contained in:
@@ -6,10 +6,6 @@
|
||||
../../../common/pc/laptop/ssd
|
||||
];
|
||||
|
||||
# TODO: boot loader
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# TODO: reverse compat
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
|
||||
@@ -8,12 +8,6 @@
|
||||
|
||||
boot.blacklistedKernelModules = [ "psmouse" ]; # touchpad goes over i2c
|
||||
|
||||
# TODO: decide on boot loader policy
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = lib.mkDefault true;
|
||||
systemd-boot.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
# This will save you money and possibly your life!
|
||||
services.thermald.enable = true;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
# Boot loader
|
||||
boot.loader.systemd-boot.enable = lib.mkDefault true;
|
||||
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
|
||||
boot.kernelParams = lib.mkDefault [ "acpi_rev_override" ];
|
||||
|
||||
# This will save you money and possibly your life!
|
||||
|
||||
Reference in New Issue
Block a user