summary refs log tree commit diff
path: root/nixos/modules/programs/cdemu.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/programs/cdemu.nix')
-rw-r--r--nixos/modules/programs/cdemu.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/cdemu.nix b/nixos/modules/programs/cdemu.nix
index 98df9b94380f..6a0185d362c5 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" ];
     };