fix(hardware): use zenergy only in hardware specific code
This commit is contained in:
parent
c63ca05471
commit
65f568d1e7
|
@ -8,12 +8,10 @@
|
|||
boot.initrd.kernelModules = [
|
||||
"amdgpu"
|
||||
"v4l2loopback"
|
||||
"zenergy"
|
||||
];
|
||||
|
||||
boot.extraModulePackages = [
|
||||
config.boot.kernelPackages.v4l2loopback
|
||||
config.boot.kernelPackages.zenergy
|
||||
];
|
||||
|
||||
boot.extraModprobeConfig = ''
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
# Enable Zenergy
|
||||
boot.initrd.kernelModules = [
|
||||
"zenergy"
|
||||
];
|
||||
boot.extraModulePackages = [
|
||||
(pkgs.callPackage ../kernel/zenergy.nix { kernel = pkgs.linux_zen; })
|
||||
config.boot.kernelPackages.zenergy
|
||||
];
|
||||
|
||||
# Enable openrazer for managing Razer products' configuration
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
# Enable Zenergy
|
||||
boot.initrd.kernelModules = [
|
||||
"zenergy"
|
||||
];
|
||||
boot.extraModulePackages = [
|
||||
(pkgs.callPackage ../kernel/zenergy.nix { kernel = pkgs.linux_zen; })
|
||||
config.boot.kernelPackages.zenergy
|
||||
];
|
||||
|
||||
# enable a better driver for wireless xbox controllers.
|
||||
|
|
Loading…
Reference in a new issue