10.nixos-hardware/framework/13-inch/amd-ai-300-series/default.nix
Alireza Mirsepassi 59761f9b5e
audio(framework-13-amd-ai-300): update default rawDeviceName
Update the default `rawDeviceName` for the Framework 13 AMD AI 300 series.
Recent UCM profile updates (or kernel driver changes) now cause the device
to expose a HiFi profile sink name (`HiFi__Speaker__sink`) instead of the
generic `analog-stereo` name.

This ensures the audio enhancement effects correctly attach to the speaker
sink out of the box.

Device name changed from:
`alsa_output.pci-0000_c1_00.6.analog-stereo`
to:
`alsa_output.pci-0000_c1_00.6.HiFi__Speaker__sink`
2025-12-27 16:10:22 +01:00

26 lines
498 B
Nix

{
config,
lib,
pkgs,
...
}:
{
imports = [
../common
../common/amd.nix
];
config = {
# Everything is updateable through fwupd
services.fwupd.enable = true;
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
lib.mkDefault "alsa_output.pci-0000_c1_00.6.HiFi__Speaker__sink";
# suspend works with 6.15
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") (
lib.mkDefault pkgs.linuxPackages_latest
);
};
}