Compare commits
2 commits
34d44a619e
...
6cc3fb6419
| Author | SHA1 | Date | |
|---|---|---|---|
| 6cc3fb6419 | |||
| ad1ceba28e |
2 changed files with 8 additions and 8 deletions
|
|
@ -34,10 +34,17 @@
|
|||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.facetimehd.enable = true;
|
||||
|
||||
# Pin to the 6.12 LTS kernel: the out-of-tree broadcom_sta (Wi-Fi) and
|
||||
# facetimehd (iSight) modules don't build against linuxPackages_latest
|
||||
# (7.x) — broadcom-sta's wl_cfg80211 ops no longer match the cfg80211 API.
|
||||
# 6.12 LTS is the newest kernel both modules compile against. Overrides
|
||||
# common.nix's linuxPackages_latest.
|
||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_6_12;
|
||||
|
||||
# wait_prepare/wait_finish were removed from struct vb2_ops in Linux 6.8
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
linuxPackages_latest = prev.linuxPackages_latest.extend (lpFinal: lpPrev: {
|
||||
linuxPackages_6_12 = prev.linuxPackages_6_12.extend (lpFinal: lpPrev: {
|
||||
facetimehd = lpPrev.facetimehd.overrideAttrs (old: {
|
||||
postPatch = (old.postPatch or "") + ''
|
||||
sed -i '/\.wait_prepare[[:space:]]*=.*vb2_ops_wait_prepare/d' fthd_v4l2.c
|
||||
|
|
|
|||
|
|
@ -24,13 +24,6 @@
|
|||
# ras-mc-ctl on PATH for manual inspection.
|
||||
environment.systemPackages = [ pkgs.rasdaemon ];
|
||||
|
||||
# fwupd: lets us check whether Lenovo publishes a P700 BIOS/microcode
|
||||
# update to LVFS that can be flashed in-place (UEFI capsule, applied on
|
||||
# reboot). The dual-Xeon QPI fault is intermittent; a microcode bump may
|
||||
# improve link tolerance. If LVFS has no payload for this 2014 board,
|
||||
# this is harmless and can be removed.
|
||||
services.fwupd.enable = true;
|
||||
|
||||
# Hardware watchdog: auto-reboot a hung box instead of a dead LAN.
|
||||
# systemd pets /dev/watchdog0 at half the runtime interval; if it stops
|
||||
# (hang), the chipset resets after RuntimeWatchdogSec.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue