Skip to content

Commit e5a4cc8

Browse files
authored
nixos/networkd: add some new options in systemd 256 (#330662)
2 parents 9a75f50 + ee051d6 commit e5a4cc8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nixos/modules/system/boot/networkd.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,10 +672,12 @@ let
672672
"IPv6AcceptRA"
673673
"IPv6DuplicateAddressDetection"
674674
"IPv6HopLimit"
675+
"IPv6RetransmissionTimeSec"
675676
"IPv4ReversePathFilter"
676677
"IPv4AcceptLocal"
677678
"IPv4RouteLocalnet"
678679
"IPv4ProxyARP"
680+
"IPv4ProxyARPPrivateVLAN"
679681
"IPv6ProxyNDP"
680682
"IPv6ProxyNDPAddress"
681683
"IPv6SendRA"
@@ -726,10 +728,12 @@ let
726728
(assertMinimum "IPv6DuplicateAddressDetection" 0)
727729
(assertInt "IPv6HopLimit")
728730
(assertMinimum "IPv6HopLimit" 0)
731+
(assertInt "IPv6RetransmissionTimeSec")
729732
(assertValueOneOf "IPv4ReversePathFilter" ["no" "strict" "loose"])
730733
(assertValueOneOf "IPv4AcceptLocal" boolValues)
731734
(assertValueOneOf "IPv4RouteLocalnet" boolValues)
732735
(assertValueOneOf "IPv4ProxyARP" boolValues)
736+
(assertValueOneof "IPv4ProxyARPPrivateVLAN" boolValues)
733737
(assertValueOneOf "IPv6ProxyNDP" boolValues)
734738
(assertValueOneOf "IPv6SendRA" boolValues)
735739
(assertValueOneOf "DHCPPrefixDelegation" boolValues)
@@ -776,6 +780,7 @@ let
776780
"Priority"
777781
"IncomingInterface"
778782
"OutgoingInterface"
783+
"L3MasterDevice"
779784
"SourcePort"
780785
"DestinationPort"
781786
"IPProtocol"
@@ -790,6 +795,7 @@ let
790795
(assertRange "TypeOfService" 0 255)
791796
(assertRangeWithOptionalMask "FirewallMark" 1 4294967295)
792797
(assertInt "Priority")
798+
(assertValueOneOf "L3MasterDevice" boolValues)
793799
(assertPortOrPortRange "SourcePort")
794800
(assertPortOrPortRange "DestinationPort")
795801
(assertValueOneOf "InvertRule" boolValues)

0 commit comments

Comments
 (0)