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] 1c30b174ed
[2] e9d13d3751
This commit is contained in:
Maximilian Bosch 2020-08-29 22:45:27 +02:00
parent b12ca077c0
commit d416facd39
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -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";