This commit is contained in:
Aleksandr Lebedev 2025-09-23 18:30:48 +02:00
parent a124d33971
commit c242672eed
3 changed files with 16 additions and 5 deletions

6
flake.lock generated
View file

@ -463,11 +463,11 @@
"snowfall-lib": "snowfall-lib" "snowfall-lib": "snowfall-lib"
}, },
"locked": { "locked": {
"lastModified": 1758626934, "lastModified": 1758627139,
"narHash": "sha256-3LWlTa/5SRT7E4sUaXRF7yREWl+Jvs/dkDzsmJKcTug=", "narHash": "sha256-fBPt3BQ61hkdOBNFRKfl5ggSlKxnTRph501neZKVRAg=",
"owner": "kylekrein", "owner": "kylekrein",
"repo": "emacs-config", "repo": "emacs-config",
"rev": "20d2be3fa2641577859670389d3c4acccb656a61", "rev": "a4d1f183f2254ff83410c9816f4b316624e96398",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -69,6 +69,17 @@ in {
]; ];
} }
]; ];
services.xserver.videoDrivers = ["modesetting"];
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
# For modern Intel CPU's
intel-media-driver # Enable Hardware Acceleration
vpl-gpu-rt # Enable QSV
];
};
environment.sessionVariables = {LIBVA_DRIVER_NAME = "iHD";};
users.groups.touchscreen = {}; users.groups.touchscreen = {};
services.udev.extraRules = '' services.udev.extraRules = ''
KERNEL=="event*", ATTRS{name}=="ILIT2901:00 222A:5539", SYMLINK+="touchscreen", MODE="0660", GROUP="touchscreen" KERNEL=="event*", ATTRS{name}=="ILIT2901:00 222A:5539", SYMLINK+="touchscreen", MODE="0660", GROUP="touchscreen"