mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machine/thinkman: fix audio
This commit is contained in:
parent
fc6d07342e
commit
c6ab9723ed
2 changed files with 9 additions and 1 deletions
|
@ -96,7 +96,10 @@
|
||||||
"secrets\\.yaml"
|
"secrets\\.yaml"
|
||||||
"\\.sops\\.yaml"
|
"\\.sops\\.yaml"
|
||||||
];
|
];
|
||||||
settings.ignored-words = [ "flate" ];
|
settings.ignored-words = [
|
||||||
|
"flate"
|
||||||
|
"hda"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
yamllint = {
|
yamllint = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -6,6 +6,11 @@ in
|
||||||
# video driver
|
# video driver
|
||||||
boot.initrd.kernelModules = [ "i915" ];
|
boot.initrd.kernelModules = [ "i915" ];
|
||||||
|
|
||||||
|
# fix audio
|
||||||
|
boot.extraModprobeConfig = ''
|
||||||
|
options snd-hda-intel dmic_detect=0
|
||||||
|
'';
|
||||||
|
|
||||||
# Special power management settings for ThinkPads
|
# Special power management settings for ThinkPads
|
||||||
services.tlp.enable = true;
|
services.tlp.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue