mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 23:13:29 +01:00
35 lines
776 B
Nix
35 lines
776 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
|
|
);
|
|
|
|
# Disable the broken ALSA UCM profiles by default.
|
|
# See https://github.com/NixOS/nixos-hardware/issues/1603
|
|
services.pipewire.wireplumber.extraConfig."10-no-ucm" = {
|
|
"monitor.alsa.properties" = {
|
|
"alsa.use-ucm" = lib.mkDefault false;
|
|
};
|
|
};
|
|
};
|
|
}
|