mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-26 03:29:44 +01:00
20 lines
500 B
Nix
20 lines
500 B
Nix
|
{ lib, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
../../../common/cpu/intel
|
||
|
../../../common/pc/laptop
|
||
|
../../../common/pc/laptop/ssd
|
||
|
];
|
||
|
|
||
|
boot.kernelParams = [
|
||
|
# See https://discourse.nixos.org/t/i915-driver-has-bug-for-iris-xe-graphics/25006/12
|
||
|
# jheidbrink reports that without this setting there is a very high lag in Sway which makes it unusable
|
||
|
"i915.enable_psr=0"
|
||
|
];
|
||
|
|
||
|
# Make the webcam work (needs Linux >= 6.6):
|
||
|
hardware.ipu6.enable = true;
|
||
|
hardware.ipu6.platform = "ipu6ep";
|
||
|
}
|