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] e9d13d37515cde47ec24410ca19866e68e5a7bd5
This commit is contained in:
parent
b12ca077c0
commit
d416facd39
@ -18,7 +18,7 @@ let generateNodeConf = { lib, pkgs, config, privk, pubk, peerId, nodeId, ...}: {
|
|||||||
wireguardConfig = {
|
wireguardConfig = {
|
||||||
PrivateKeyFile = "/run/wg_priv";
|
PrivateKeyFile = "/run/wg_priv";
|
||||||
ListenPort = 51820;
|
ListenPort = 51820;
|
||||||
FwMark = 42;
|
FirewallMark = 42;
|
||||||
};
|
};
|
||||||
wireguardPeers = [ {wireguardPeerConfig={
|
wireguardPeers = [ {wireguardPeerConfig={
|
||||||
Endpoint = "192.168.1.${peerId}:51820";
|
Endpoint = "192.168.1.${peerId}:51820";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user