1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01: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:
Jörg Thalheim 2021-08-21 09:22:25 +01:00 committed by GitHub
parent 6f1dc0aed0
commit d2d9a58a5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 14 deletions

View file

@ -6,10 +6,6 @@
../../../common/pc/laptop/ssd ../../../common/pc/laptop/ssd
]; ];
# TODO: boot loader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# TODO: reverse compat # TODO: reverse compat
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;

View file

@ -8,12 +8,6 @@
boot.blacklistedKernelModules = [ "psmouse" ]; # touchpad goes over i2c 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! # This will save you money and possibly your life!
services.thermald.enable = true; services.thermald.enable = true;
} }

View file

@ -1,10 +1,6 @@
{ lib, ... }: { 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" ]; boot.kernelParams = lib.mkDefault [ "acpi_rev_override" ];
# This will save you money and possibly your life! # This will save you money and possibly your life!