···15491549 release notes</link> for changes and upgrade instructions.
15501550 </para>
15511551 </listitem>
15521552+ <listitem>
15531553+ <para>
15541554+ The <literal>systemd.network</literal> module has gained
15551555+ support for the FooOverUDP link type.
15561556+ </para>
15571557+ </listitem>
15581558+ <listitem>
15591559+ <para>
15601560+ The <literal>networking</literal> module has a new
15611561+ <literal>networking.fooOverUDP</literal> option to configure
15621562+ Foo-over-UDP encapsulations.
15631563+ </para>
15641564+ </listitem>
15651565+ <listitem>
15661566+ <para>
15671567+ <literal>networking.sits</literal> now supports Foo-over-UDP
15681568+ encapsulation.
15691569+ </para>
15701570+ </listitem>
15521571 </itemizedlist>
15531572 </section>
15541573</section>
+6
nixos/doc/manual/release-notes/rl-2111.section.md
···447447- Three new options, [xdg.mime.addedAssociations](#opt-xdg.mime.addedAssociations), [xdg.mime.defaultApplications](#opt-xdg.mime.defaultApplications), and [xdg.mime.removedAssociations](#opt-xdg.mime.removedAssociations) have been added to the [xdg.mime](#opt-xdg.mime.enable) module to allow the configuration of `/etc/xdg/mimeapps.list`.
448448449449- Kopia was upgraded from 0.8.x to 0.9.x. Please read the [upstream release notes](https://github.com/kopia/kopia/releases/tag/v0.9.0) for changes and upgrade instructions.
450450+451451+- The `systemd.network` module has gained support for the FooOverUDP link type.
452452+453453+- The `networking` module has a new `networking.fooOverUDP` option to configure Foo-over-UDP encapsulations.
454454+455455+- `networking.sits` now supports Foo-over-UDP encapsulation.
+26
nixos/modules/system/boot/networkd.nix
···250250 (assertRange "ERSPANIndex" 1 1048575)
251251 ];
252252253253+ sectionFooOverUDP = checkUnitConfig "FooOverUDP" [
254254+ (assertOnlyFields [
255255+ "Port"
256256+ "Encapsulation"
257257+ "Protocol"
258258+ ])
259259+ (assertPort "Port")
260260+ (assertValueOneOf "Encapsulation" ["FooOverUDP" "GenericUDPEncapsulation"])
261261+ ];
262262+253263 sectionPeer = checkUnitConfig "Peer" [
254264 (assertOnlyFields [
255265 "Name"
···919929 '';
920930 };
921931932932+ fooOverUDPConfig = mkOption {
933933+ default = { };
934934+ example = { Port = 9001; };
935935+ type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionFooOverUDP;
936936+ description = ''
937937+ Each attribute in this set specifies an option in the
938938+ <literal>[FooOverUDP]</literal> section of the unit. See
939939+ <citerefentry><refentrytitle>systemd.netdev</refentrytitle>
940940+ <manvolnum>5</manvolnum></citerefentry> for details.
941941+ '';
942942+ };
943943+922944 peerConfig = mkOption {
923945 default = {};
924946 example = { Name = "veth2"; };
···14481470 + optionalString (def.tunnelConfig != { }) ''
14491471 [Tunnel]
14501472 ${attrsToSection def.tunnelConfig}
14731473+ ''
14741474+ + optionalString (def.fooOverUDPConfig != { }) ''
14751475+ [FooOverUDP]
14761476+ ${attrsToSection def.fooOverUDPConfig}
14511477 ''
14521478 + optionalString (def.peerConfig != { }) ''
14531479 [Peer]