1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 12:09:45 +01:00

Quirks no more needed

This commit is contained in:
Andrea Ciceri 2022-08-17 14:45:50 +02:00
parent 12620020f7
commit 2284621815
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
2 changed files with 0 additions and 16 deletions

View file

@ -1,15 +0,0 @@
{ lib, pkgs, ... }:
{
# This can be removed when the default kernel is at least version 5.6
# https://github.com/NixOS/nixpkgs/pull/86168
boot.kernelPackages = lib.mkIf
(lib.versionOlder pkgs.linux.version "5.6")
(lib.mkDefault pkgs.linuxPackages_latest);
# This can be removed when PulseAudio is at least version 14
# https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_7)#Audio
hardware.pulseaudio.extraConfig = ''
load-module module-alsa-sink device=hw:0,0 channels=4
load-module module-alsa-source device=hw:0,6 channels=4
'';
}

View file

@ -3,6 +3,5 @@
../.
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd
./audio.nix
];
}