@@ -215,6 +215,35 @@ in
215215 '';
216216 };
217217
218+ boot.devSize = mkOption {
219+ default = "5%";
220+ example = "32m";
221+ type = types.str;
222+ description = ''
223+ Size limit for the /dev tmpfs. Look at mount(8), tmpfs size option,
224+ for the accepted syntax.
225+ '';
226+ };
227+
228+ boot.devShmSize = mkOption {
229+ default = "50%";
230+ example = "256m";
231+ type = types.str;
232+ description = ''
233+ Size limit for the /dev/shm tmpfs. Look at mount(8), tmpfs size option,
234+ for the accepted syntax.
235+ '';
236+ };
237+
238+ boot.runSize = mkOption {
239+ default = "25%";
240+ example = "256m";
241+ type = types.str;
242+ description = ''
243+ Size limit for the /run tmpfs. Look at mount(8), tmpfs size option,
244+ for the accepted syntax.
245+ '';
246+ };
218247 };
219248
220249