mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09: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:
parent
6f1dc0aed0
commit
d2d9a58a5c
3 changed files with 0 additions and 14 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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!
|
||||||
|
|
Loading…
Reference in a new issue