nixosTests.systemd-networkd: remove wireguard kernel module

config.boot.kernelPackages.wireguard evaluates to null on machine
closure having a > 5.6 Linux kernels, hence making the evaluation of
this test fail.

Wireguard is now part of the mainline Linux kernel, we do not need to
to add it via a additional kernel module anymore for this test.
This commit is contained in:
Félix Baylac-Jacqué 2021-05-09 15:35:43 +02:00
parent 8eed0e2095
commit 524ff40291
No known key found for this signature in database
GPG Key ID: EFD315F31848DBA4

View File

@ -6,7 +6,6 @@ let generateNodeConf = { lib, pkgs, config, privk, pubk, peerId, nodeId, ...}: {
networking.firewall.enable = false;
virtualisation.vlans = [ 1 ];
environment.systemPackages = with pkgs; [ wireguard-tools ];
boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
systemd.network = {
enable = true;
netdevs = {