diff --git a/nixos/modules/programs/cdemu.nix b/nixos/modules/programs/cdemu.nix index 98df9b94380..6a0185d362c 100644 --- a/nixos/modules/programs/cdemu.nix +++ b/nixos/modules/programs/cdemu.nix @@ -38,7 +38,7 @@ in { config = mkIf cfg.enable { boot = { - extraModulePackages = [ pkgs.linuxPackages.vhba ]; + extraModulePackages = [ config.boot.kernelPackages.vhba ]; kernelModules = [ "vhba" ]; };