Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: slim initrd + smaller image for fast USB boot

- Set includeDefaultModules=false — only load Intel laptop + USB boot
modules instead of every driver. Drops initrd from 1.4GB to ~50-80MB.
- Reduce additionalSpace from 2G to 256M (read-only kiosk).
- Should cut loader time from 55s to ~5s on USB2.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+6 -4
+1 -1
fedac/nixos/flake.nix
··· 71 71 # enough room for the kernel, initrd, and GRUB assets. 72 72 bootSize = "2048M"; 73 73 diskSize = "auto"; 74 - additionalSpace = "2G"; 74 + additionalSpace = "256M"; 75 75 memSize = 4096; 76 76 }; 77 77
+5 -3
fedac/nixos/modules/hardware.nix
··· 18 18 security.rtkit.enable = true; 19 19 services.pipewire.enable = false; 20 20 21 - # Kernel modules for common hardware 21 + # Slim initrd — only modules needed for Intel laptops + USB boot. 22 + # Default NixOS initrd is 1.4GB (every driver); this cuts to ~50-80MB. 23 + boot.initrd.includeDefaultModules = false; 22 24 boot.initrd.availableKernelModules = [ 23 - # Storage 25 + # Storage (USB boot + internal NVMe) 24 26 "ahci" "nvme" "sd_mod" "usb_storage" "uas" 25 27 "xhci_pci" "ehci_pci" "ohci_pci" 26 28 # Input ··· 28 30 # GPU (loaded early for KMS) 29 31 "i915" "amdgpu" "nouveau" 30 32 # Filesystems 31 - "vfat" "nls_cp437" "nls_iso8859_1" 33 + "ext4" "vfat" "nls_cp437" "nls_iso8859_1" 32 34 ]; 33 35 34 36 boot.kernelModules = [