diff --git a/flake.nix b/flake.nix index 358f31d..9d812b1 100644 --- a/flake.nix +++ b/flake.nix @@ -96,7 +96,10 @@ "secrets\\.yaml" "\\.sops\\.yaml" ]; - settings.ignored-words = [ "flate" ]; + settings.ignored-words = [ + "flate" + "hda" + ]; }; yamllint = { enable = true; diff --git a/machines/thinkman/hardware-configuration.nix b/machines/thinkman/hardware-configuration.nix index 63cf3c2..3deffaf 100644 --- a/machines/thinkman/hardware-configuration.nix +++ b/machines/thinkman/hardware-configuration.nix @@ -6,6 +6,11 @@ in # video driver boot.initrd.kernelModules = [ "i915" ]; + # fix audio + boot.extraModprobeConfig = '' + options snd-hda-intel dmic_detect=0 + ''; + # Special power management settings for ThinkPads services.tlp.enable = true;