summary refs log tree commit diff
path: root/nixos/tests/systemd-networkd.nix
diff options
context:
space:
mode:
authorFélix Baylac-Jacqué <felix@alternativebit.fr>2021-05-09 15:35:43 +0200
committerFélix Baylac-Jacqué <felix@alternativebit.fr>2021-05-09 15:40:19 +0200
commit524ff402913da2b718fd96d5f2f3c7aa3bd93581 (patch)
treed7ad469fec66ea3d0b9765ea528f0f986c646d05 /nixos/tests/systemd-networkd.nix
parent8eed0e209537f00195855c8eef0dabf9ed99154f (diff)
downloadnixpkgs-524ff402913da2b718fd96d5f2f3c7aa3bd93581.tar
nixpkgs-524ff402913da2b718fd96d5f2f3c7aa3bd93581.tar.gz
nixpkgs-524ff402913da2b718fd96d5f2f3c7aa3bd93581.tar.bz2
nixpkgs-524ff402913da2b718fd96d5f2f3c7aa3bd93581.tar.lz
nixpkgs-524ff402913da2b718fd96d5f2f3c7aa3bd93581.tar.xz
nixpkgs-524ff402913da2b718fd96d5f2f3c7aa3bd93581.tar.zst
nixpkgs-524ff402913da2b718fd96d5f2f3c7aa3bd93581.zip
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.
Diffstat (limited to 'nixos/tests/systemd-networkd.nix')
-rw-r--r--nixos/tests/systemd-networkd.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/tests/systemd-networkd.nix b/nixos/tests/systemd-networkd.nix
index 4f2cb75f5a0..7faeae3704e 100644
--- a/nixos/tests/systemd-networkd.nix
+++ b/nixos/tests/systemd-networkd.nix
@@ -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 = {