summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-01-07 19:15:01 +0300
committerNikolay Amiantov <ab@fmap.me>2016-01-12 14:44:41 +0300
commitd82c0f97901154ac93a9f69c1c98693da275b822 (patch)
treee6c38d48b295d76c16739536820327648eea2684
parent9124e9584b3d952fdd6047bbdf610be0ef1ad45f (diff)
downloadnixpkgs-d82c0f97901154ac93a9f69c1c98693da275b822.tar
nixpkgs-d82c0f97901154ac93a9f69c1c98693da275b822.tar.gz
nixpkgs-d82c0f97901154ac93a9f69c1c98693da275b822.tar.bz2
nixpkgs-d82c0f97901154ac93a9f69c1c98693da275b822.tar.lz
nixpkgs-d82c0f97901154ac93a9f69c1c98693da275b822.tar.xz
nixpkgs-d82c0f97901154ac93a9f69c1c98693da275b822.tar.zst
nixpkgs-d82c0f97901154ac93a9f69c1c98693da275b822.zip
nixos/cdemu: use system kernel modules
-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 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" ];
     };