nixos/new-lg4ff: fix kernel selection
This commit is contained in:
parent
de7510053c
commit
9a5c77c581
3 changed files with 4 additions and 5 deletions
|
@ -4,6 +4,7 @@ with lib;
|
|||
|
||||
let
|
||||
cfg = config.hardware.new-lg4ff;
|
||||
kernelPackages = config.boot.kernelPackages;
|
||||
in {
|
||||
options.hardware.new-lg4ff = {
|
||||
enable = mkOption {
|
||||
|
@ -19,7 +20,7 @@ in {
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
boot = {
|
||||
extraModulePackages = [ pkgs.new-lg4ff ];
|
||||
extraModulePackages = [ kernelPackages.new-lg4ff ];
|
||||
kernelModules = [ "hid-logitech-new" ];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -23097,10 +23097,6 @@ with pkgs;
|
|||
stdenv = gcc11Stdenv;
|
||||
};
|
||||
|
||||
new-lg4ff = callPackage ../os-specific/linux/new-lg4ff {
|
||||
inherit (linuxPackages) kernel;
|
||||
};
|
||||
|
||||
nmon = callPackage ../os-specific/linux/nmon { };
|
||||
|
||||
hwdata = callPackage ../os-specific/linux/hwdata { };
|
||||
|
|
|
@ -343,6 +343,8 @@ in {
|
|||
|
||||
mbp2018-bridge-drv = callPackage ../os-specific/linux/mbp-modules/mbp2018-bridge-drv { };
|
||||
|
||||
new-lg4ff = callPackage ../os-specific/linux/new-lg4ff { };
|
||||
|
||||
nvidiabl = callPackage ../os-specific/linux/nvidiabl { };
|
||||
|
||||
nvidiaPackages = dontRecurseIntoAttrs (lib.makeExtensible (_: callPackage ../os-specific/linux/nvidia-x11 { }));
|
||||
|
|
Loading…
Reference in a new issue