summary refs log tree commit diff
path: root/nixos/modules/system/boot/networkd.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-12-06 08:42:02 +0100
committerFlorian Klink <flokli@flokli.de>2019-12-06 08:43:34 +0100
commit2c1281eb7ab54dd2b9ee0094a9719f7191a2d983 (patch)
tree574519ab2470be37e134ae704ab89b34cda94a37 /nixos/modules/system/boot/networkd.nix
parent7132e6b5734966770a0ff5636a9f864f031be590 (diff)
downloadnixpkgs-2c1281eb7ab54dd2b9ee0094a9719f7191a2d983.tar
nixpkgs-2c1281eb7ab54dd2b9ee0094a9719f7191a2d983.tar.gz
nixpkgs-2c1281eb7ab54dd2b9ee0094a9719f7191a2d983.tar.bz2
nixpkgs-2c1281eb7ab54dd2b9ee0094a9719f7191a2d983.tar.lz
nixpkgs-2c1281eb7ab54dd2b9ee0094a9719f7191a2d983.tar.xz
nixpkgs-2c1281eb7ab54dd2b9ee0094a9719f7191a2d983.tar.zst
nixpkgs-2c1281eb7ab54dd2b9ee0094a9719f7191a2d983.zip
nixos/networkd: add missing "Advertise" option
This is in systemd since v240.
Diffstat (limited to 'nixos/modules/system/boot/networkd.nix')
-rw-r--r--nixos/modules/system/boot/networkd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index 226769f1059..73e5f8b5393 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -11,7 +11,7 @@ let
   checkLink = checkUnitConfig "Link" [
     (assertOnlyFields [
       "Description" "Alias" "MACAddressPolicy" "MACAddress" "NamePolicy" "Name" "OriginalName"
-      "MTUBytes" "BitsPerSecond" "Duplex" "AutoNegotiation" "WakeOnLan" "Port"
+      "MTUBytes" "BitsPerSecond" "Duplex" "AutoNegotiation" "WakeOnLan" "Port" "Advertise"
       "TCPSegmentationOffload" "TCP6SegmentationOffload" "GenericSegmentationOffload"
       "GenericReceiveOffload" "LargeReceiveOffload" "RxChannels" "TxChannels"
       "OtherChannels" "CombinedChannels"