Compare commits

...

2 commits

Author SHA1 Message Date
fbe2242ced
fix ddcci-driver (again) 2024-10-14 00:03:07 +02:00
c6f27baf16
I don't even know at this point 2024-10-13 23:48:05 +02:00
2 changed files with 19 additions and 13 deletions

View file

@ -9,11 +9,17 @@
in {
boot = {
extraModulePackages = [
(config.boot.kernelPackages.ddcci-driver.overrideAttrs (o: {
patches = (o.patches or []) ++ [
(config.boot.kernelPackages.ddcci-driver.overrideAttrs (_: {
src = pkgs.fetchFromGitLab {
owner = "ddcci-driver-linux";
repo = "ddcci-driver-linux";
rev = "0233e1ee5eddb4b8a706464f3097bad5620b65f4";
hash = "sha256-Osvojt8UE+cenOuMoSY+T+sODTAAKkvY/XmBa5bQX88=";
};
patches = [
(pkgs.fetchpatch {
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/16.patch";
hash = "sha256-PapgP4cE2+d+YbNSEd6mQRvnumdiEfQpyR5f5Rs1YTs=";
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/17.patch";
hash = "sha256-sTq03HtWQBd7Wy4o1XbdmMjXQE2dG+1jajx4HtwBHjM=";
})
];
}))

View file

@ -424,15 +424,15 @@ in {
in [
", XF86AudioMedia, exec, ${play-pause}"
", XF86AudioPlay, exec, ${play-pause}"
"${mod}, Y, exec, ${play-pause}"
"${mod} SHIFT, Y, exec, ${play-pause}"
", XF86AudioStop, exec, ${stop}"
"${mod}, U, exec, ${stop}"
"${mod} SHIFT, U, exec, ${stop}"
", XF86AudioPrev, exec, ${prev}"
"${mod}, I, exec, ${prev}"
"${mod} SHIFT, I, exec, ${prev}"
", XF86AudioNext, exec, ${next}"
"${mod}, O, exec, ${next}"
"${mod} SHIFT, O, exec, ${next}"
", XF86AudioMute, exec, ${toggle-mute}"
"${mod}, P, exec, ${toggle-mute}"
"${mod} SHIFT, P, exec, ${toggle-mute}"
];
# locked + repeat