working on nvidia settings

This commit is contained in:
Matt Nish-Lapidus 2024-10-07 23:39:25 -04:00
parent 36798975c7
commit 1781b9c4ad
9 changed files with 2176 additions and 428 deletions

View file

@ -1,11 +1,13 @@
{ config, lib, pkgs, ... }:
{
systemd.services.razer-speaker-fix = {
description = "Workaround for the Razer Blade 14 internal audio device";
wantedBy = [ "multi-user.target" ];
restartIfChanged = false;
script = ''
systemd.services.razer-speaker-fix = {
enable = true;
# description = "Workaround for the Razer Blade 14 internal audio device";
wantedBy = [ "multi-user.target" ];
after = [ "multi-user.target" ];
script = ''
#!/bin/sh
hda-verb /dev/snd/hwC2D0 0x20 0x500 0x7
hda-verb /dev/snd/hwC2D0 0x20 0x500 0x7
@ -2009,5 +2011,5 @@ hda-verb /dev/snd/hwC2D0 0x20 0x500 0x23
hda-verb /dev/snd/hwC2D0 0x20 0x400 0xdd00
'';
};
};
}