modules/networking-client: include evil.ko

This commit is contained in:
Max Headroom 2023-06-15 16:28:04 +02:00
parent b191556c65
commit 397c68043c

View file

@ -1,4 +1,5 @@
{ config, ... }: { config, inputs, pkgs, ... }:
{ {
networking.useDHCP = false; networking.useDHCP = false;
@ -35,4 +36,12 @@
allowedTCPPorts = ports; allowedTCPPorts = ports;
allowedUDPPorts = ports; allowedUDPPorts = ports;
}; };
boot.extraModulePackages = [
(inputs.self.packages.${pkgs.system}.evil.override {
inherit (config.boot.kernelPackages) kernel;
})
];
boot.kernelModules = [ "evil" ];
} }