Use systemd-boot instead of GRUB
Enable systemd-boot and allow touching EFI variables. Move i915.enable_guc=3 into boot.kernelParams and remove duplicate entry.
This commit is contained in:
parent
a736fb7fbf
commit
5d6a7ad2b4
1 changed files with 9 additions and 5 deletions
|
|
@ -4,9 +4,14 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.loader.grub.useOSProber = true;
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
kernelParams = [
|
||||
"i915.enable_guc=3"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
services.xserver.videoDrivers = [ "modesetting" ];
|
||||
|
||||
|
|
@ -25,7 +30,6 @@
|
|||
};
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
boot.kernelParams = [ "i915.enable_guc=3" ];
|
||||
|
||||
environment.sessionVariables = {
|
||||
LIBVA_DRIVER_NAME = "iHD";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue