omen: add updated tuxedo-keyboard

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-10-27 12:39:31 +01:00
parent ee1ee9c040
commit 1cce6939ac
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -101,8 +101,35 @@ in {
"libchacha"
"poly1305_x86_64"
];
extraModulePackages = [
(config.boot.kernelPackages.tuxedo-keyboard.overrideAttrs (
final: prev: {
version = "v4.8.0";
src = pkgs.fetchFromGitLab {
owner = "tuxedocomputers/development/packages";
repo = "tuxedo-drivers";
rev = final.version;
hash = "sha256-MN3p51Y9yqHc69BK8Wu8NtW18DdRIyxEYjH+Tqn/SXk=";
};
installPhase = ''
runHook preInstall
mkdir -p "$out/lib/modules/${config.boot.kernelPackages.kernel.modDirVersion}"
for module in $(find . -name '*.ko'); do
mv $module $out/lib/modules/${config.boot.kernelPackages.kernel.modDirVersion}
done
runHook postInstall
'';
}
))
];
kernelModules = [
"kvm-intel"
"tuxedo_keyboard"
];
kernelParams = [
@ -122,8 +149,6 @@ in {
};
hardware.enableRedistributableFirmware = true;
# hardware.tuxedo-keyboard.enable = true;
chaotic.mesa-git = {
enable = true;
fallbackSpecialisation = false;