···622622 </listitem>
623623 <listitem>
624624 <para>
625625+ A new option
626626+ <literal>boot.initrd.extraModprobeConfig</literal> has been
627627+ added which can be used to configure kernel modules that are
628628+ loaded in the initrd.
629629+ </para>
630630+ </listitem>
631631+ <listitem>
632632+ <para>
625633 <literal>fetchFromSourcehut</literal> now allows fetching
626634 repositories recursively using <literal>fetchgit</literal> or
627635 <literal>fetchhg</literal> if the argument
+2
nixos/doc/manual/release-notes/rl-2205.section.md
···217217218218- The option `services.duplicati.dataDir` has been added to allow changing the location of duplicati's files.
219219220220+- A new option `boot.initrd.extraModprobeConfig` has been added which can be used to configure kernel modules that are loaded in the initrd.
221221+220222- `fetchFromSourcehut` now allows fetching repositories recursively
221223 using `fetchgit` or `fetchhg` if the argument `fetchSubmodules`
222224 is set to `true`.
+20
nixos/modules/system/boot/modprobe.nix
···3434 type = types.lines;
3535 };
36363737+ boot.initrd.extraModprobeConfig = mkOption {
3838+ default = "";
3939+ example =
4040+ ''
4141+ options zfs zfs_arc_max=1073741824
4242+ '';
4343+ description = ''
4444+ Does exactly the same thing as
4545+ <option>boot.extraModprobeConfig</option>, except
4646+ that the generated <filename>modprobe.conf</filename>
4747+ file is also included in the initrd.
4848+ This is useful for setting module options for kernel
4949+ modules that are loaded during early boot in the initrd.
5050+ '';
5151+ type = types.lines;
5252+ };
5353+3754 };
38553956···4966 blacklist ${name}
5067 '')}
5168 ${config.boot.extraModprobeConfig}
6969+ '';
7070+ environment.etc."modprobe.d/nixos-initrd.conf".text = ''
7171+ ${config.boot.initrd.extraModprobeConfig}
5272 '';
5373 environment.etc."modprobe.d/debian.conf".source = pkgs.kmod-debian-aliases;
5474
···3939 print('chromium: TODO -> ' + version + '\n')
4040 print(url)
4141 if fixes := re.search(r'This update includes .+ security fixes\.', content).group(0):
4242- zero_days = re.search(r'Google is aware( of reports)? that .+ in the wild\.', content)
4242+ zero_days = re.search(r'Google is aware( of reports)? th(e|at) .+ in the wild\.', content)
4343 if zero_days:
4444 fixes += " " + zero_days.group(0)
4545 print('\n' + '\n'.join(textwrap.wrap(fixes, width=72)))