mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 01:48:50 +08:00
23 lines
411 B
Nix
23 lines
411 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
../common
|
|
../common/amd.nix
|
|
];
|
|
config = {
|
|
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
|
lib.mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo";
|
|
|
|
# suspend works with 6.15
|
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") (
|
|
lib.mkDefault pkgs.linuxPackages_latest
|
|
);
|
|
};
|
|
}
|