alpha
Login
or
Join now
seanaye.bsky.social
/
nixos-config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
me like nix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix pizero wifi
author
Sean Aye
date
1 month ago
(May 10, 2026, 3:12 PM -0400)
commit
aa500a1b
aa500a1b52c300b8a822c4ce17070f317ff3ac1c
parent
32dfd8a0
32dfd8a044ff7cfc293b15bb614c808ab9689afc
change-id
txrqusok
txrqusokkpzkvqswmulmywutrtzuqkkr
+7
-1
2 changed files
Expand all
Collapse all
Unified
Split
modules
hosts
pizero.nix
pi-camera.nix
+1
modules/hosts/pizero.nix
Reviewed
···
30
30
};
31
31
framerate = 15;
32
32
gpuMem = 128;
33
33
+
cmaMB = 128;
33
34
flipCamera = true;
34
35
};
35
36
+6
-1
modules/pi-camera.nix
Reviewed
···
32
32
default = 256;
33
33
description = "GPU memory allocation in MB";
34
34
};
35
35
+
cmaMB = lib.mkOption {
36
36
+
type = lib.types.enum [ 64 128 256 512 ];
37
37
+
default = 256;
38
38
+
description = "CMA reservation in MB. Pi Zero 2W (512 MB total) should use 64 or 128.";
39
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
75
-
dt-overlays.vc4-kms-v3d.params.cma-256.enable = true;
80
80
+
dt-overlays.vc4-kms-v3d.params."cma-${toString cfg.cmaMB}".enable = true;
76
81
};
77
82
78
83
services.go2rtc = {