From a8e25bc9d37d11713eede1bd737581da8f8607de Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 20 Jun 2020 18:38:49 +0100 Subject: feat(3p/kernelPatches): Add kernel audio patch for ASUS TRX40 Pro Without this patch, this board is not included in the pin map overrides and audio basically doesn't work. With this patch, the audio still doesn't work, but it can at least correctly detect what is and isn't plugged in - so that's progress. Change-Id: I66ca7d7a1e0e25a0212b9659381875ad4c590ffc Reviewed-on: https://cl.tvl.fyi/c/depot/+/542 Reviewed-by: lukegb --- users/tazjin/nixos/frog/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/tazjin') diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix index a88763b58165..f0c9cd6e0ddf 100644 --- a/users/tazjin/nixos/frog/default.nix +++ b/users/tazjin/nixos/frog/default.nix @@ -34,6 +34,10 @@ in depot.lib.fix(self: { kernel.sysctl = { "kernel.perf_event_paranoid" = 1; }; + + kernelPatches = [ + depot.third_party.kernelPatches.trx40_usb_audio + ]; }; hardware = { @@ -233,6 +237,7 @@ in depot.lib.fix(self: { openssl pass pavucontrol + pciutils pinentry pinentry-emacs pwgen @@ -245,6 +250,7 @@ in depot.lib.fix(self: { tokei tree unzip + usbutils vlc xclip yubico-piv-tool -- cgit 1.4.1