fix(hardware): use zenergy only in hardware specific code
This commit is contained in:
parent
c63ca05471
commit
65f568d1e7
3 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue