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"
},
"locked": {
"lastModified": 1758626934,
"narHash": "sha256-3LWlTa/5SRT7E4sUaXRF7yREWl+Jvs/dkDzsmJKcTug=",
"lastModified": 1758627139,
"narHash": "sha256-fBPt3BQ61hkdOBNFRKfl5ggSlKxnTRph501neZKVRAg=",
"owner": "kylekrein",
"repo": "emacs-config",
"rev": "20d2be3fa2641577859670389d3c4acccb656a61",
"rev": "a4d1f183f2254ff83410c9816f4b316624e96398",
"type": "github"
},
"original": {

View file

@ -51,7 +51,7 @@ in
];
layout = {
preset-column-widths = [
{proportion = 1.0 / 2.0;}
{proportion = 1.0 / 2.0;}
{proportion = 1.0;}
{proportion = 2.0 / 3.0;}
{proportion = 1.0 / 3.0;}
@ -72,7 +72,7 @@ in
"Mod+F".action = fullscreen-window;
"Mod+R".action = switch-preset-column-width;
"Mod+Q".action = close-window;
"Mod+P".action = sh ''emacsclient -cF "((visibility . nil))" -e "(emacs-run-password-copy-field)"'';
"Mod+P".action = sh ''emacsclient -cF "((visibility . nil))" -e "(emacs-run-password-copy-field)"'';
"Mod+Shift+S".action = screenshot-annotate;
"Mod+1".action = focus-workspace 1;
"Mod+2".action = focus-workspace 2;

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 = {};
services.udev.extraRules = ''
KERNEL=="event*", ATTRS{name}=="ILIT2901:00 222A:5539", SYMLINK+="touchscreen", MODE="0660", GROUP="touchscreen"