tuxedo-drivers: init at 4.6.2

This commit is contained in:
Jan B. 2024-09-21 20:28:25 +02:00 committed by Jan B.
parent 711913a6b8
commit 1790f7b4c3
No known key found for this signature in database
GPG Key ID: DA888BBB15D66D25
2 changed files with 16 additions and 6 deletions

View File

@ -1,7 +1,14 @@
{ lib, stdenv, fetchFromGitLab, kernel, linuxHeaders, pahole }:
{
lib,
stdenv,
fetchFromGitLab,
kernel,
linuxHeaders,
pahole,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tuxedo-keyboard-${kernel.version}";
pname = "tuxedo-drivers-${kernel.version}";
version = "4.6.2";
src = fetchFromGitLab {
@ -36,10 +43,12 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers";
license = lib.licenses.gpl3Plus;
longDescription = ''
This driver provides support for Fn keys, brightness/color/mode for most TUXEDO
keyboards (except white backlight-only models).
Drivers for several platform devices for TUXEDO notebooks:
- Driver for Fn-keys
- SysFS control of brightness/color/mode for most TUXEDO keyboards
- Hardware I/O driver for TUXEDO Control Center
Can be used with the "hardware.tuxedo-keyboard" NixOS module.
Can be used with the "hardware.tuxedo-drivers" NixOS module.
'';
maintainers = [ lib.maintainers.blanky0230 ];
platforms = lib.platforms.linux;

View File

@ -486,7 +486,7 @@ in {
rust-out-of-tree-module = if lib.versionAtLeast kernel.version "6.7" then callPackage ../os-specific/linux/rust-out-of-tree-module { } else null;
tuxedo-keyboard = if lib.versionAtLeast kernel.version "4.14" then callPackage ../os-specific/linux/tuxedo-keyboard { } else null;
tuxedo-drivers = if lib.versionAtLeast kernel.version "4.14" then callPackage ../os-specific/linux/tuxedo-drivers { } else null;
jool = callPackage ../os-specific/linux/jool { };
@ -616,6 +616,7 @@ in {
kvdo = throw "kvdo was removed, because it was added to mainline in kernel version 6.9"; # Added 2024-07-08
system76-power = lib.warn "kernelPackages.system76-power is now pkgs.system76-power" pkgs.system76-power; # Added 2024-10-16
system76-scheduler = lib.warn "kernelPackages.system76-scheduler is now pkgs.system76-scheduler" pkgs.system76-scheduler; # Added 2024-10-16
tuxedo-keyboard = self.tuxedo-drivers; # Added 2024-09-28
});
hardenedPackagesFor = kernel: overrides: packagesFor (hardenedKernelFor kernel overrides);