remove kernel module bloat

This commit is contained in:
Florian Agbuya 2024-01-17 17:56:38 +08:00
parent 2639192a92
commit e94262db53
1 changed files with 8 additions and 2 deletions

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;