mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
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:
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…
Reference in New Issue
Block a user