From d416facd395254666e0333f609520d86e64059a7 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 29 Aug 2020 22:45:27 +0200 Subject: [PATCH] nixos/tests/systemd-networkd: fix eval In `systemd-243` the option `FwMark` in the `[WireGuard]` section of a `.netdev`-unit has been renamed to `FirewallMark`[1]. Due to the removal of deprecated options in our `networkd` module[2] the evaluation of this test doesn't work. Renaming the option to its new name fixes the issue. [1] https://github.com/systemd/systemd/commit/1c30b174edc001537350036245ea632cb4e91cbb [2] e9d13d37515cde47ec24410ca19866e68e5a7bd5 --- nixos/tests/systemd-networkd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/systemd-networkd.nix b/nixos/tests/systemd-networkd.nix index 319e5e94eceb..162970e67537 100644 --- a/nixos/tests/systemd-networkd.nix +++ b/nixos/tests/systemd-networkd.nix @@ -18,7 +18,7 @@ let generateNodeConf = { lib, pkgs, config, privk, pubk, peerId, nodeId, ...}: { wireguardConfig = { PrivateKeyFile = "/run/wg_priv"; ListenPort = 51820; - FwMark = 42; + FirewallMark = 42; }; wireguardPeers = [ {wireguardPeerConfig={ Endpoint = "192.168.1.${peerId}:51820";