Compare commits
2 commits
e77307551f
...
e2e91e6924
Author | SHA1 | Date | |
---|---|---|---|
fruchti | e2e91e6924 | ||
fruchti | 96729143fa |
|
@ -33,6 +33,9 @@
|
|||
# WCH-LinkE
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="8010", MODE="0660", GROUP="plugdev"
|
||||
|
||||
# Glasgow
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="20b7", ATTRS{idProduct}=="9db1", MODE="0660", GROUP="plugdev"
|
||||
|
||||
# Shared V-USB VID:PID for use with various homebrew stuff
|
||||
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", MODE="0660", GROUP="plugdev"
|
||||
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", MODE="0660", GROUP="plugdev"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
hardware.trackpoint = {
|
||||
enable = true;
|
||||
|
@ -7,14 +7,31 @@
|
|||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "modesetting" ];
|
||||
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
# driSupport = true;
|
||||
# driSupport32Bit = true;
|
||||
};
|
||||
environment.variables = {
|
||||
VDPAU_DRIVER = "va_gl";
|
||||
};
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
(if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then vaapiIntel else intel-vaapi-driver)
|
||||
libvdpau-va-gl
|
||||
intel-media-driver
|
||||
];
|
||||
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
keyMap = "de";
|
||||
font = "Lat2-Terminus16";
|
||||
keyMap = "de";
|
||||
};
|
||||
|
||||
boot.kernelParams = [
|
||||
# Disable ’Panel Self Refresh’. Fixes random freezes.
|
||||
"i915.enable_psr=0"
|
||||
];
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue