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,10 +4,15 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
boot = {
|
||||||
boot.loader.grub.device = "/dev/sda";
|
loader.systemd-boot.enable = true;
|
||||||
boot.loader.grub.useOSProber = true;
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
kernelParams = [
|
||||||
|
"i915.enable_guc=3"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "modesetting" ];
|
services.xserver.videoDrivers = [ "modesetting" ];
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
|
|
@ -25,7 +30,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
boot.kernelParams = [ "i915.enable_guc=3" ];
|
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
LIBVA_DRIVER_NAME = "iHD";
|
LIBVA_DRIVER_NAME = "iHD";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue