From 1b7b1dbe2f88a3c8f0c5416d4e43de10977915cc Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Sat, 11 May 2019 13:48:48 +0200 Subject: [PATCH] nixos/networkd: rename GatewayOnlink to GatewayOnLink This follows upstreams renaming of the option [1]. [1] https://github.com/systemd/systemd/commit/9cb8c5593443d24c19e40bfd4fc06d672f8c554c --- nixos/doc/manual/release-notes/rl-1909.xml | 10 ++++++++++ nixos/modules/system/boot/networkd.nix | 2 +- nixos/modules/tasks/network-interfaces-systemd.nix | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml index 60b4a3bc17b..bac642fa539 100644 --- a/nixos/doc/manual/release-notes/rl-1909.xml +++ b/nixos/doc/manual/release-notes/rl-1909.xml @@ -104,6 +104,16 @@ + + + The option + was renamed to + (capital L). This follows + + upstreams renaming + of the setting. + + diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 63a6f7fbe09..14a3832b0dc 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -203,7 +203,7 @@ let checkRoute = checkUnitConfig "Route" [ (assertOnlyFields [ - "Gateway" "GatewayOnlink" "Destination" "Source" "Metric" + "Gateway" "GatewayOnLink" "Destination" "Source" "Metric" "IPv6Preference" "Scope" "PreferredSource" "Table" "Protocol" "Type" "InitialCongestionWindow" "InitialAdvertisedReceiveWindow" "QuickAck" "MTUBytes" diff --git a/nixos/modules/tasks/network-interfaces-systemd.nix b/nixos/modules/tasks/network-interfaces-systemd.nix index b9c1387cea5..857aaf1e6e3 100644 --- a/nixos/modules/tasks/network-interfaces-systemd.nix +++ b/nixos/modules/tasks/network-interfaces-systemd.nix @@ -63,7 +63,7 @@ in { routeConfig = { Gateway = gateway; - GatewayOnlink = false; + GatewayOnLink = false; }; } ];