me like nix
0

Configure Feed

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

fix pizero wifi

author
Sean Aye
date (May 10, 2026, 3:12 PM -0400) commit aa500a1b parent 32dfd8a0 change-id txrqusok
+7 -1
+1
modules/hosts/pizero.nix
··· 30 30 }; 31 31 framerate = 15; 32 32 gpuMem = 128; 33 + cmaMB = 128; 33 34 flipCamera = true; 34 35 }; 35 36
+6 -1
modules/pi-camera.nix
··· 32 32 default = 256; 33 33 description = "GPU memory allocation in MB"; 34 34 }; 35 + cmaMB = lib.mkOption { 36 + type = lib.types.enum [ 64 128 256 512 ]; 37 + default = 256; 38 + description = "CMA reservation in MB. Pi Zero 2W (512 MB total) should use 64 or 128."; 39 + }; 35 40 flipCamera = lib.mkOption { 36 41 type = lib.types.bool; 37 42 default = false; ··· 72 77 enable = true; 73 78 value = cfg.gpuMem; 74 79 }; 75 - dt-overlays.vc4-kms-v3d.params.cma-256.enable = true; 80 + dt-overlays.vc4-kms-v3d.params."cma-${toString cfg.cmaMB}".enable = true; 76 81 }; 77 82 78 83 services.go2rtc = {