diff options
author | Alan Pearce | 2019-10-22 13:21:06 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-22 13:21:06 +0200 |
commit | 29ad3be5d41963493ab36341cb6a058099757535 (patch) | |
tree | 388e14200e501267ce5be98033dab8ded7ac5fd1 /system/settings/hardware | |
parent | df9e2d5331a863e285bcfe66391728ce884a61bc (diff) | |
download | nixfiles-29ad3be5d41963493ab36341cb6a058099757535.tar.lz nixfiles-29ad3be5d41963493ab36341cb6a058099757535.tar.zst nixfiles-29ad3be5d41963493ab36341cb6a058099757535.zip |
intel-gpu: switch back to intel driver
Diffstat (limited to 'system/settings/hardware')
-rw-r--r-- | system/settings/hardware/intel-gpu.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/settings/hardware/intel-gpu.nix b/system/settings/hardware/intel-gpu.nix index 95d27cc0..3503c315 100644 --- a/system/settings/hardware/intel-gpu.nix +++ b/system/settings/hardware/intel-gpu.nix @@ -1,6 +1,14 @@ { config, pkgs, ... }: { + # https://wiki.gentoo.org/wiki/Intel#Feature_support + services.xserver = { + useGlamor = true; + deviceSection = '' + Option "DRI" "3" + ''; + videoDrivers = [ "intel" ]; + }; boot.kernelParams = [ "i915.enable_guc=2" |