nixos/cdemu: use system kernel modules

This commit is contained in:
Nikolay Amiantov 2016-01-07 19:15:01 +03:00
parent 9124e9584b
commit d82c0f9790

View File

@ -38,7 +38,7 @@ in {
config = mkIf cfg.enable {
boot = {
extraModulePackages = [ pkgs.linuxPackages.vhba ];
extraModulePackages = [ config.boot.kernelPackages.vhba ];
kernelModules = [ "vhba" ];
};