fix: deprecate zenergy and remove it from host configurations

Currently incompatible with Linux 6.16, waiting on BoukeHaarsma23 to
approve a pull request fixing it.
This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-08-22 18:31:25 -03:00
parent f8ff5578d3
commit 759fe2dd68
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
3 changed files with 3 additions and 18 deletions

View file

@ -137,14 +137,6 @@
# HARDWARE # # HARDWARE #
# #
# Enable Zenergy
boot.initrd.kernelModules = [
"zenergy"
];
boot.extraModulePackages = [
config.boot.kernelPackages.zenergy
];
# Enable openrazer for managing Razer products' configuration # Enable openrazer for managing Razer products' configuration
hardware.openrazer = { hardware.openrazer = {
enable = true; enable = true;

View file

@ -105,14 +105,6 @@
# HARDWARE # # HARDWARE #
# #
# Enable Zenergy
boot.initrd.kernelModules = [
"zenergy"
];
boot.extraModulePackages = [
config.boot.kernelPackages.zenergy
];
# enable a better driver for wireless xbox controllers. # enable a better driver for wireless xbox controllers.
hardware.xpadneo.enable = true; hardware.xpadneo.enable = true;
} }

View file

@ -6,12 +6,13 @@
boot.initrd.kernelModules = [ boot.initrd.kernelModules = [
"v4l2loopback" "v4l2loopback"
"zenergy" # "zenergy" FIXME: Broken in Linux 6.16 since June - https://github.com/BoukeHaarsma23/zenergy/issues/15
]; ];
boot.extraModulePackages = [ boot.extraModulePackages = [
config.boot.kernelPackages.v4l2loopback config.boot.kernelPackages.v4l2loopback
config.boot.kernelPackages.zenergy # Allows fetching power draw information on AMD CPUs # config.boot.kernelPackages.zenergy # Allows fetching power draw information on AMD CPUs
# FIXME: Look at the FIXME before this.
]; ];
# Configure v4l2loopback # Configure v4l2loopback