anchor.diff:      };
     };
   
  -
     networkOptions = commonNetworkOptions // {
   
  +    linkConfig = mkOption {
  +      default = {};
  +      example = { Unmanaged = true; };
  +      type = types.addCheck (types.attrsOf unitOption) check.network.sectionLink;
  +      description = ''
  +        Each attribute in this set specifies an option in the
  +        <literal>[Link]</literal> section of the unit.  See
  +        <citerefentry><refentrytitle>systemd.network</refentrytitle>
  +        <manvolnum>5</manvolnum></citerefentry> for details.
  +      '';
  +    };
  +
       networkConfig = mkOption {
         default = {};
         example = { Description = "My Network"; };
  -      type = types.addCheck (types.attrsOf unitOption) checkNetwork;
  +      type = types.addCheck (types.attrsOf unitOption) check.network.sectionNetwork;
         description = ''
           Each attribute in this set specifies an option in the
           <literal>[Network]</literal> section of the unit.  See
  
positive.code:     xfrmConfig = mkOption {
        default = {};
        example = { InterfaceId = 1; };
        type = types.addCheck (types.attrsOf unitOption) checkXfrm;
        description = ''
          Each attribute in this set specifies an option in the
          <literal>[Xfrm]</literal> section of the unit.  See
          <citerefentry><refentrytitle>systemd.netdev</refentrytitle>
          <manvolnum>5</manvolnum></citerefentry> for details.
        '';
      };
  
  
negative.code:           ${concatStringsSep "\n" (map (s: "Tunnel=${s}") def.tunnel)}
            ${concatStringsSep "\n" (map (s: "Xfrm=${s}") def.xfrm)}
  
            ${flip concatMapStrings def.addresses (x: ''
              [Address]
              ${attrsToSection x.addressConfig}
  
            '')}
            ${flip concatMapStrings def.routingPolicyRules (x: ''
              [RoutingPolicyRule]
              ${attrsToSection x.routingPolicyRuleConfig}
  
            '')}
            ${flip concatMapStrings def.routes (x: ''
              [Route]
              ${attrsToSection x.routeConfig}
  
            '')}
            ${optionalString (def.dhcpV4Config != { }) ''
              [DHCPv4]
              ${attrsToSection def.dhcpV4Config}
  