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 = [
|
boot.initrd.kernelModules = [
|
||||||
"amdgpu"
|
"amdgpu"
|
||||||
"v4l2loopback"
|
"v4l2loopback"
|
||||||
"zenergy"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.extraModulePackages = [
|
boot.extraModulePackages = [
|
||||||
config.boot.kernelPackages.v4l2loopback
|
config.boot.kernelPackages.v4l2loopback
|
||||||
config.boot.kernelPackages.zenergy
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable Zenergy
|
# Enable Zenergy
|
||||||
|
boot.initrd.kernelModules = [
|
||||||
|
"zenergy"
|
||||||
|
];
|
||||||
boot.extraModulePackages = [
|
boot.extraModulePackages = [
|
||||||
(pkgs.callPackage ../kernel/zenergy.nix { kernel = pkgs.linux_zen; })
|
config.boot.kernelPackages.zenergy
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable openrazer for managing Razer products' configuration
|
# Enable openrazer for managing Razer products' configuration
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
{ pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable Zenergy
|
# Enable Zenergy
|
||||||
|
boot.initrd.kernelModules = [
|
||||||
|
"zenergy"
|
||||||
|
];
|
||||||
boot.extraModulePackages = [
|
boot.extraModulePackages = [
|
||||||
(pkgs.callPackage ../kernel/zenergy.nix { kernel = pkgs.linux_zen; })
|
config.boot.kernelPackages.zenergy
|
||||||
];
|
];
|
||||||
|
|
||||||
# enable a better driver for wireless xbox controllers.
|
# enable a better driver for wireless xbox controllers.
|
||||||
|
|
Loading…
Reference in a new issue