Add fixes for Framework laptop
This commit is contained in:
parent
9c14b1a151
commit
724cc97ef9
2 changed files with 15 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
./disko.nix
|
./disko.nix
|
||||||
../../users/jalr
|
../../users/jalr
|
||||||
./services
|
./services
|
||||||
|
./framework-fixes.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
|
||||||
14
hosts/copper/framework-fixes.nix
Normal file
14
hosts/copper/framework-fixes.nix
Normal 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"
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue