dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit 49858700bd6b7a51f5e34a6008f7d5362818f074 parent 91b3967192237072f2fc1726af802436b8f700bb Author: maydayv7 <maydayv7@gmail.com> Date: Thu, 12 Sep 2024 20:19:00 +0530 fix(`valkyrie`): Fix microphone
Diffstat:
| M | devices/valkyrie/drivers.nix | | | 14 | +++++++++++++- |
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/devices/valkyrie/drivers.nix b/devices/valkyrie/drivers.nix @@ -1,4 +1,8 @@ -{lib, ...}: { +{ + lib, + pkgs, + ... +}: { services.fwupd.enable = true; user.persist.directories = [".config/rog"]; hardware = { @@ -13,4 +17,12 @@ }; }; }; + + systemd.services.mic-boost = { + description = "Fix Internal Microphone"; + wantedBy = ["multi-user.target"]; + script = '' + ${lib.getExe' pkgs.alsa-utils "amixer"} -c 2 sset 'Internal Mic Boost' 0 + ''; + }; }