From 397c68043cec4f5b896985f8d356aea24ffe3be3 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 15 Jun 2023 16:28:04 +0200 Subject: [PATCH] modules/networking-client: include evil.ko --- modules/networking-client/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/networking-client/default.nix b/modules/networking-client/default.nix index d22cf98..f782ed4 100644 --- a/modules/networking-client/default.nix +++ b/modules/networking-client/default.nix @@ -1,4 +1,5 @@ -{ config, ... }: +{ config, inputs, pkgs, ... }: + { networking.useDHCP = false; @@ -35,4 +36,12 @@ allowedTCPPorts = ports; allowedUDPPorts = ports; }; + + boot.extraModulePackages = [ + (inputs.self.packages.${pkgs.system}.evil.override { + inherit (config.boot.kernelPackages) kernel; + }) + ]; + + boot.kernelModules = [ "evil" ]; }