Remove kernel module bloat #22

Merged
sb10q merged 1 commits from fsagbuya/nix-servo:kernel-config into master 2024-01-17 18:07:54 +08:00

View File

@ -96,10 +96,10 @@ index c61f9d6..fbdf0fd 100644
};
}
diff --git a/zynq_image.nix b/zynq_image.nix
index 3fa23ab..4fa949e 100644
index 3fa23ab..9ea1df3 100644
--- a/zynq_image.nix
+++ b/zynq_image.nix
@@ -1,66 +1,90 @@
@@ -1,66 +1,96 @@
-{ config, pkgs, ... }:
+{ lib, config, pkgs, ... }:
@ -126,6 +126,12 @@ index 3fa23ab..4fa949e 100644
+ customKernel = (crosspkgs.linux.override {
extraConfig = ''
OVERLAY_FS y
+ MEDIA_SUPPORT n
+ FB n
+ DRM n
+ SOUND n
+ SQUASHFS n
+ BACKLIGHT_CLASS_DEVICE n
'';
- };
- customKernelPackages = pkgs.linuxPackagesFor customKernel;