diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-13 19:10:53 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-13 19:10:53 +0200 |
commit | f3a1652b098bbe33e5ab8a827ff3778b3c2120b8 (patch) | |
tree | 243f5d1e82706ad3d727a26692bd1d53d9373776 /nixos/modules/system/boot/networkd.nix | |
parent | 561b7b74f8e5783f29bb589482b3ed60ce2c1318 (diff) | |
parent | c0c2f2903f310dd5efb86f02b4b5f824183f5173 (diff) |
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos/modules/system/boot/networkd.nix')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 228 |
1 files changed, 114 insertions, 114 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 9b0d750d12ce2..0ddb7dcb651de 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -1508,7 +1508,7 @@ let enable = mkOption { default = true; type = types.bool; - description = lib.mdDoc '' + description = '' Whether to manage network configuration using {command}`systemd-network`. This also enables {option}`systemd.networkd.enable`. @@ -1519,7 +1519,7 @@ let default = {}; example = { Name = "eth0"; }; type = types.attrsOf unitOption; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Match]` section of the unit. See {manpage}`systemd.link(5)` @@ -1532,7 +1532,7 @@ let extraConfig = mkOption { default = ""; type = types.lines; - description = lib.mdDoc "Extra configuration append to unit"; + description = "Extra configuration append to unit"; }; }; @@ -1541,7 +1541,7 @@ let default = {}; example = { SpeedMeter = true; ManageForeignRoutingPolicyRules = false; }; type = types.addCheck (types.attrsOf unitOption) check.global.sectionNetwork; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Network]` section of the networkd config. See {manpage}`networkd.conf(5)` for details. @@ -1552,7 +1552,7 @@ let default = {}; example = { DUIDType = "vendor"; }; type = types.addCheck (types.attrsOf unitOption) check.global.sectionDHCPv4; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DHCPv4]` section of the networkd config. See {manpage}`networkd.conf(5)` for details. @@ -1563,7 +1563,7 @@ let default = {}; example = { DUIDType = "vendor"; }; type = types.addCheck (types.attrsOf unitOption) check.global.sectionDHCPv6; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DHCPv6]` section of the networkd config. See {manpage}`networkd.conf(5)` for details. @@ -1576,7 +1576,7 @@ let enable = mkOption { default = true; type = types.bool; - description = lib.mdDoc '' + description = '' Whether to enable this .link unit. It's handled by udev no matter if {command}`systemd-networkd` is enabled or not ''; }; @@ -1585,7 +1585,7 @@ let default = {}; example = { MACAddress = "00:ff:ee:aa:cc:dd"; }; type = types.addCheck (types.attrsOf unitOption) check.link.sectionLink; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Link]` section of the unit. See {manpage}`systemd.link(5)` for details. @@ -1600,7 +1600,7 @@ let l2tpSessionConfig = mkOption { default = {}; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionL2TPSession; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[L2TPSession]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1614,7 +1614,7 @@ let wireguardPeerConfig = mkOption { default = {}; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionWireGuardPeer; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[WireGuardPeer]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1628,7 +1628,7 @@ let netdevConfig = mkOption { example = { Name = "mybridge"; Kind = "bridge"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionNetdev; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Netdev]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1639,7 +1639,7 @@ let default = {}; example = { Id = 4; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionVLAN; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[VLAN]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1650,7 +1650,7 @@ let default = {}; example = { Mode = "L2"; Flags = "private"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionIPVLAN; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[IPVLAN]` section of the unit. See {manpage}`systemd.netdev(5)` for details. ''; @@ -1660,7 +1660,7 @@ let default = {}; example = { Mode = "L3"; Flags = "vepa"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionIPVTAP; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[IPVTAP]` section of the unit. See {manpage}`systemd.netdev(5)` for details. ''; @@ -1670,7 +1670,7 @@ let default = {}; example = { Mode = "private"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionMACVLAN; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[MACVLAN]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1680,7 +1680,7 @@ let vxlanConfig = mkOption { default = {}; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionVXLAN; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[VXLAN]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1691,7 +1691,7 @@ let default = {}; example = { Remote = "192.168.1.1"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionTunnel; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Tunnel]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1702,7 +1702,7 @@ let default = { }; example = { Port = 9001; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionFooOverUDP; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[FooOverUDP]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1713,7 +1713,7 @@ let default = {}; example = { Name = "veth2"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionPeer; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Peer]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1724,7 +1724,7 @@ let default = {}; example = { User = "openvpn"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionTun; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Tun]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1735,7 +1735,7 @@ let default = {}; example = { User = "openvpn"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionTap; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Tap]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1752,7 +1752,7 @@ let EncapsulationType = "ip"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionL2TP; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[L2TP]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1767,7 +1767,7 @@ let Name = "l2tp-sess"; };}]; type = with types; listOf (submodule l2tpSessionOptions); - description = lib.mdDoc '' + description = '' Each item in this array specifies an option in the `[L2TPSession]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1782,7 +1782,7 @@ let FirewallMark = 42; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionWireGuard; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[WireGuard]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1802,7 +1802,7 @@ let PersistentKeepalive = 15; };}]; type = with types; listOf (submodule wireguardPeerOptions); - description = lib.mdDoc '' + description = '' Each item in this array specifies an option in the `[WireGuardPeer]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1816,7 +1816,7 @@ let default = {}; example = { Mode = "802.3ad"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionBond; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Bond]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1827,7 +1827,7 @@ let default = {}; example = { InterfaceId = 1; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionXfrm; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Xfrm]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1838,7 +1838,7 @@ let default = {}; example = { Table = 2342; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionVRF; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[VRF]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1851,7 +1851,7 @@ let default = {}; example = { PhysicalDevice = 0; Type = "station"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionWLAN; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[WLAN]` section of the unit. See {manpage}`systemd.netdev(5)` for details. ''; @@ -1864,7 +1864,7 @@ let RoutingAlgorithm = "batman-v"; }; type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionBatmanAdvanced; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[BatmanAdvanced]` section of the unit. See {manpage}`systemd.netdev(5)` for details. @@ -1878,7 +1878,7 @@ let addressConfig = mkOption { example = { Address = "192.168.0.100/24"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionAddress; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Address]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -1893,7 +1893,7 @@ let default = { }; example = { Table = 10; IncomingInterface = "eth1"; Family = "both"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionRoutingPolicyRule; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[RoutingPolicyRule]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -1908,7 +1908,7 @@ let default = {}; example = { Gateway = "192.168.0.1"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionRoute; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Route]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -1923,7 +1923,7 @@ let default = {}; example = { Prefix = "fd00::/64"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionIPv6Prefix; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[IPv6Prefix]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -1938,7 +1938,7 @@ let default = {}; example = { Route = "fd00::/64"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionIPv6RoutePrefix; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[IPv6RoutePrefix]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -1953,7 +1953,7 @@ let default = {}; example = { MACAddress = "65:43:4a:5b:d8:5f"; Address = "192.168.1.42"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionDHCPServerStaticLease; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DHCPServerStaticLease]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -1971,7 +1971,7 @@ let default = {}; example = { MACAddress = "65:43:4a:5b:d8:5f"; Destination = "192.168.1.42"; VNI = 20; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridgeFDB; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[BridgeFDB]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -1986,7 +1986,7 @@ let default = {}; example = { MulticastGroupAddress = "ff02::1:2:3:4"; VLANId = 10; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridgeMDB; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[BridgeMDB]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2001,7 +2001,7 @@ let default = {}; example = { VLAN = 20; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridgeVLAN; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[BridgeVLAN]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2016,7 +2016,7 @@ let default = {}; example = { Unmanaged = true; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionLink; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Link]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2027,7 +2027,7 @@ let default = {}; example = { Description = "My Network"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionNetwork; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Network]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2045,7 +2045,7 @@ let default = {}; example = { UseDNS = true; UseRoutes = true; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionDHCPv4; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DHCPv4]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2056,7 +2056,7 @@ let default = {}; example = { UseDNS = true; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionDHCPv6; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DHCPv6]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2072,7 +2072,7 @@ let default = {}; example = { SubnetId = "auto"; Announce = true; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionDHCPPrefixDelegation; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DHCPPrefixDelegation]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2083,7 +2083,7 @@ let default = {}; example = { UseDNS = true; DHCPv6Client = "always"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionIPv6AcceptRA; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[IPv6AcceptRA]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2094,7 +2094,7 @@ let default = {}; example = { PoolOffset = 50; EmitDNS = false; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionDHCPServer; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DHCPServer]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2112,7 +2112,7 @@ let default = {}; example = { EmitDNS = true; Managed = true; OtherInformation = true; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionIPv6SendRA; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[IPv6SendRA]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2123,7 +2123,7 @@ let default = []; example = [ { dhcpServerStaticLeaseConfig = { MACAddress = "65:43:4a:5b:d8:5f"; Address = "192.168.1.42"; }; } ]; type = with types; listOf (submodule dhcpServerStaticLeaseOptions); - description = lib.mdDoc '' + description = '' A list of DHCPServerStaticLease sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2133,7 +2133,7 @@ let default = []; example = [ { ipv6PrefixConfig = { AddressAutoconfiguration = true; OnLink = true; }; } ]; type = with types; listOf (submodule ipv6PrefixOptions); - description = lib.mdDoc '' + description = '' A list of ipv6Prefix sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2143,7 +2143,7 @@ let default = []; example = [ { ipv6RoutePrefixConfig = { Route = "fd00::/64"; LifetimeSec = 3600; }; } ]; type = with types; listOf (submodule ipv6RoutePrefixOptions); - description = lib.mdDoc '' + description = '' A list of ipv6RoutePrefix sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2153,7 +2153,7 @@ let default = {}; example = { MulticastFlood = false; Cost = 20; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridge; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[Bridge]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2164,7 +2164,7 @@ let default = []; example = [ { bridgeFDBConfig = { MACAddress = "90:e2:ba:43:fc:71"; Destination = "192.168.100.4"; VNI = 3600; }; } ]; type = with types; listOf (submodule bridgeFDBOptions); - description = lib.mdDoc '' + description = '' A list of BridgeFDB sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2174,7 +2174,7 @@ let default = []; example = [ { bridgeMDBConfig = { MulticastGroupAddress = "ff02::1:2:3:4"; VLANId = 10; } ; } ]; type = with types; listOf (submodule bridgeMDBOptions); - description = lib.mdDoc '' + description = '' A list of BridgeMDB sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2184,7 +2184,7 @@ let default = {}; example = { MUDURL = "https://things.example.org/product_abc123/v5"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionLLDP; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[LLDP]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2195,7 +2195,7 @@ let default = {}; example = { }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionCAN; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[CAN]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2206,7 +2206,7 @@ let default = {}; example = { }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionIPoIB; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[IPoIB]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2217,7 +2217,7 @@ let default = {}; example = { Parent = "ingress"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionQDisc; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[QDisc]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2228,7 +2228,7 @@ let default = {}; example = { Parent = "ingress"; DelaySec = "20msec"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionNetworkEmulator; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[NetworkEmulator]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2239,7 +2239,7 @@ let default = {}; example = { Parent = "ingress"; Rate = "100k"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionTokenBucketFilter; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[TokenBucketFilter]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2250,7 +2250,7 @@ let default = {}; example = { Parent = "ingress"; PacketLimit = "3847"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionPIE; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[PIE]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2261,7 +2261,7 @@ let default = {}; example = { Parent = "ingress"; PacketLimit = "3847"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionFlowQueuePIE; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[FlowQueuePIE]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2272,7 +2272,7 @@ let default = {}; example = { Parent = "ingress"; PacketLimit = "3847"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionStochasticFairBlue; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[StochasticFairBlue]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2283,7 +2283,7 @@ let default = {}; example = { Parent = "ingress"; PerturbPeriodSec = "30"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionStochasticFairnessQueueing; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[StochasticFairnessQueueing]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2294,7 +2294,7 @@ let default = {}; example = { Parent = "ingress"; LimitBytes = "20K"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionBFIFO; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[BFIFO]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2305,7 +2305,7 @@ let default = {}; example = { Parent = "ingress"; PacketLimit = "300"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionPFIFO; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[PFIFO]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2316,7 +2316,7 @@ let default = {}; example = { Parent = "ingress"; PacketLimit = "300"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionPFIFOHeadDrop; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[PFIFOHeadDrop]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2327,7 +2327,7 @@ let default = {}; example = { Parent = "ingress"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionPFIFOFast; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[PFIFOFast]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2338,7 +2338,7 @@ let default = {}; example = { Bandwidth = "40M"; OverheadBytes = 8; CompensationMode = "ptm"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionCAKE; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[CAKE]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2349,7 +2349,7 @@ let default = {}; example = { Parent = "ingress"; TargetSec = "20msec"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionControlledDelay; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[ControlledDelay]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2360,7 +2360,7 @@ let default = {}; example = { Parent = "root"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionDeficitRoundRobinScheduler; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DeficitRoundRobinScheduler]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2371,7 +2371,7 @@ let default = {}; example = { Parent = "root"; QuantumBytes = "300k"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionDeficitRoundRobinSchedulerClass; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[DeficitRoundRobinSchedulerClass]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2382,7 +2382,7 @@ let default = {}; example = { Parent = "root"; QuantumBytes = "300k"; Bands = 3; PriorityMap = "100 200 300"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionEnhancedTransmissionSelection; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[EnhancedTransmissionSelection]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2393,7 +2393,7 @@ let default = {}; example = { Parent = "root"; VirtualQueues = 5; DefaultVirtualQueue = 3; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionGenericRandomEarlyDetection; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[GenericRandomEarlyDetection]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2404,7 +2404,7 @@ let default = {}; example = { Parent = "root"; Flows = 5; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionFairQueueingControlledDelay; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[FairQueueingControlledDelay]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2415,7 +2415,7 @@ let default = {}; example = { Parent = "root"; FlowLimit = 5; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionFairQueueing; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[FairQueueing]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2426,7 +2426,7 @@ let default = {}; example = { Parent = "root"; Id = 0; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionTrivialLinkEqualizer; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[TrivialLinkEqualizer]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2437,7 +2437,7 @@ let default = {}; example = { Parent = "root"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionHierarchyTokenBucket; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[HierarchyTokenBucket]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2448,7 +2448,7 @@ let default = {}; example = { Parent = "root"; Rate = "10M"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionHierarchyTokenBucketClass; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[HierarchyTokenBucketClass]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2459,7 +2459,7 @@ let default = {}; example = { Parent = "root"; PacketLimit = 10000; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionHeavyHitterFilter; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[HeavyHitterFilter]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2470,7 +2470,7 @@ let default = {}; example = { Parent = "root"; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionQuickFairQueueing; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[QuickFairQueueing]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2481,7 +2481,7 @@ let default = {}; example = { Parent = "root"; Weight = 133; }; type = types.addCheck (types.attrsOf unitOption) check.network.sectionQuickFairQueueingClass; - description = lib.mdDoc '' + description = '' Each attribute in this set specifies an option in the `[QuickFairQueueingClass]` section of the unit. See {manpage}`systemd.network(5)` for details. @@ -2492,7 +2492,7 @@ let default = []; example = [ { bridgeVLANConfig = { VLAN = "10-20"; }; } ]; type = with types; listOf (submodule bridgeVLANOptions); - description = lib.mdDoc '' + description = '' A list of BridgeVLAN sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2501,7 +2501,7 @@ let name = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' The name of the network interface to match against. ''; }; @@ -2509,7 +2509,7 @@ let DHCP = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' Whether to enable DHCP on the interfaces matched. ''; }; @@ -2517,7 +2517,7 @@ let domains = mkOption { type = types.nullOr (types.listOf types.str); default = null; - description = lib.mdDoc '' + description = '' A list of domains to pass to the network config. ''; }; @@ -2525,7 +2525,7 @@ let address = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of addresses to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2534,7 +2534,7 @@ let gateway = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of gateways to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2543,7 +2543,7 @@ let dns = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of dns servers to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2552,7 +2552,7 @@ let ntp = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of ntp servers to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2561,7 +2561,7 @@ let bridge = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of bridge interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2570,7 +2570,7 @@ let bond = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of bond interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2579,7 +2579,7 @@ let vrf = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of vrf interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2588,7 +2588,7 @@ let vlan = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of vlan interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2597,7 +2597,7 @@ let macvlan = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of macvlan interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2606,7 +2606,7 @@ let macvtap = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of macvtap interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2615,7 +2615,7 @@ let vxlan = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of vxlan interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2624,7 +2624,7 @@ let tunnel = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of tunnel interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2633,7 +2633,7 @@ let xfrm = mkOption { default = [ ]; type = types.listOf types.str; - description = lib.mdDoc '' + description = '' A list of xfrm interfaces to be added to the network section of the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2642,7 +2642,7 @@ let addresses = mkOption { default = [ ]; type = with types; listOf (submodule addressOptions); - description = lib.mdDoc '' + description = '' A list of address sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2651,7 +2651,7 @@ let routingPolicyRules = mkOption { default = [ ]; type = with types; listOf (submodule routingPolicyRulesOptions); - description = lib.mdDoc '' + description = '' A list of routing policy rules sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2660,7 +2660,7 @@ let routes = mkOption { default = [ ]; type = with types; listOf (submodule routeOptions); - description = lib.mdDoc '' + description = '' A list of route sections to be added to the unit. See {manpage}`systemd.network(5)` for details. ''; @@ -2687,7 +2687,7 @@ let default = {}; example = { foo = 27; }; type = with types; attrsOf int; - description = lib.mdDoc '' + description = '' Defines route table names as an attrset of name to number. See {manpage}`networkd.conf(5)` for details. ''; @@ -2697,7 +2697,7 @@ let default = true; example = false; type = types.bool; - description = lib.mdDoc '' + description = '' If true and routeTables are set, then the specified route tables will also be installed into /etc/iproute2/rt_tables. ''; @@ -2737,7 +2737,7 @@ let enable = mkOption { default = false; type = types.bool; - description = lib.mdDoc '' + description = '' Whether to enable networkd or not. ''; }; @@ -2746,32 +2746,32 @@ let default = {}; inherit visible; type = with types; attrsOf (submodule [ { options = linkOptions; } ]); - description = lib.mdDoc "Definition of systemd network links."; + description = "Definition of systemd network links."; }; netdevs = mkOption { default = {}; inherit visible; type = with types; attrsOf (submodule [ { options = netdevOptions; } ]); - description = lib.mdDoc "Definition of systemd network devices."; + description = "Definition of systemd network devices."; }; networks = mkOption { default = {}; inherit visible; type = with types; attrsOf (submodule [ { options = networkOptions; } networkConfig ]); - description = lib.mdDoc "Definition of systemd networks."; + description = "Definition of systemd networks."; }; config = mkOption { default = {}; inherit visible; type = with types; submodule [ { options = networkdOptions; } networkdConfig ]; - description = lib.mdDoc "Definition of global systemd network config."; + description = "Definition of global systemd network config."; }; units = mkOption { - description = lib.mdDoc "Definition of networkd units."; + description = "Definition of networkd units."; default = {}; internal = true; type = with types; attrsOf (submodule ( @@ -2788,7 +2788,7 @@ let type = types.bool; default = true; example = false; - description = lib.mdDoc '' + description = '' Whether to enable the systemd-networkd-wait-online service. systemd-networkd-wait-online can timeout and fail if there are no network interfaces @@ -2799,7 +2799,7 @@ let ''; }; anyInterface = mkOption { - description = lib.mdDoc '' + description = '' Whether to consider the network online when any interface is online, as opposed to all of them. This is useful on portable machines with a wired and a wireless interface, for example. @@ -2811,7 +2811,7 @@ let }; ignoredInterfaces = mkOption { - description = lib.mdDoc '' + description = '' Network interfaces to be ignored when deciding if the system is online. ''; type = with types; listOf str; @@ -2820,7 +2820,7 @@ let }; timeout = mkOption { - description = lib.mdDoc '' + description = '' Time to wait for the network to come online, in seconds. Set to 0 to disable. ''; type = types.ints.unsigned; @@ -2829,7 +2829,7 @@ let }; extraArgs = mkOption { - description = lib.mdDoc '' + description = '' Extra command-line arguments to pass to systemd-networkd-wait-online. These also affect per-interface `systemd-network-wait-online@` services. |