overheating: Add binary firmware for speakers
This commit is contained in:
parent
e536387ffe
commit
61e08fe876
6 changed files with 20 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
../../modules/ironbar_config.nix
|
||||
../../modules/boot_params.nix
|
||||
./dsdt.nix
|
||||
./firmware.nix
|
||||
];
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
networking.hostName = "overheating";
|
||||
|
|
|
|||
18
nix/hardware/overheating/firmware.nix
Normal file
18
nix/hardware/overheating/firmware.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
hardware.firmware = [
|
||||
(
|
||||
# lenovo is such a good manufacturer!!1!11!
|
||||
# credit for the binary files: https://github.com/darinpp/yoga-slim-7
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "firmware-lenotrolli";
|
||||
src = ./firmware;
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/firmware
|
||||
cp ${./firmware/TAS2XXX38BB.bin} $out/lib/firmware/TAS2XXX38BB.bin
|
||||
cp ${./firmware/TIAS2781RCA4.bin} $out/lib/firmware/TIAS2781RCA4.bin
|
||||
'';
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
BIN
nix/hardware/overheating/firmware/TAS2XXX38BB.bin
Normal file
BIN
nix/hardware/overheating/firmware/TAS2XXX38BB.bin
Normal file
Binary file not shown.
BIN
nix/hardware/overheating/firmware/TIAS2781RCA4.bin
Normal file
BIN
nix/hardware/overheating/firmware/TIAS2781RCA4.bin
Normal file
Binary file not shown.
BIN
nix/hardware/overheating/firmware/TIAS2781RCA4.bin.orig
Normal file
BIN
nix/hardware/overheating/firmware/TIAS2781RCA4.bin.orig
Normal file
Binary file not shown.
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, modulesPath, ... }:
|
||||
{ pkgs, config, lib, modulesPath, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue