Add specific conf for intel laptop
This commit is contained in:
parent
90251ce7a6
commit
8a452e7587
2 changed files with 8 additions and 2 deletions
|
@ -1,8 +1,14 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
hardware.graphics = {
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
intel-compute-runtime
|
||||
];
|
||||
};
|
||||
|
||||
services = {
|
||||
xserver = pkgs.lib.mkIf config.services.xserver.enable {
|
||||
videoDrivers = [ "modesetting" ];
|
||||
deviceSection = ''
|
||||
Option "DRI" "2"
|
||||
Option "TearFree" "true"
|
|
@ -58,7 +58,7 @@
|
|||
../hardware-specific/keychron-q11.nix
|
||||
../hardware-specific/trackball.nix
|
||||
../hardware-specific/usb-automount.nix
|
||||
../hardware-specific/laptop.nix
|
||||
../hardware-specific/intel-laptop.nix
|
||||
];
|
||||
|
||||
system.autoUpgrade.allowReboot = pkgs.lib.mkForce false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue