mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
omen
: add updated tuxedo-keyboard
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
ee1ee9c040
commit
1cce6939ac
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue