Add fixes for Framework laptop

This commit is contained in:
Jakob Lechner 2025-09-09 10:29:34 +02:00
parent 9c14b1a151
commit 724cc97ef9
2 changed files with 15 additions and 0 deletions

View file

@ -6,6 +6,7 @@
./disko.nix
../../users/jalr
./services
./framework-fixes.nix
];
networking = {

View file

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
boot.extraModprobeConfig = ''
options cfg80211 ieee80211_regdom="DE"
options mt7921_common disable_clc=1
options mt7921e disable_aspm=Y
'';
hardware.firmware = [ pkgs.wireless-regdb ];
services.udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="pci", ATTR{power/wakeup}="disabled"
'';
}