fix(modules/zenergy): correct the package and it's documentation

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-03-06 11:00:54 -03:00
parent f87f9995be
commit e7432ba62e
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 5 additions and 1 deletions

View file

@ -74,7 +74,7 @@
packages."${system}" = {
wb32dfu-udev-rules = pkgs.callPackage ./packages/wb32dfu-udev-rules { };
zenergy = pkgs.callPackage ./packages/zenergy.nix { };
zenergy = ./packages/zenergy.nix;
};
nixosModules = {

View file

@ -4,6 +4,10 @@ This is a kernel driver that adds the ability for user to fetch power draw data
[nixpkgs], so you shouldn't use this package _unless_ it is broken in your current
version of [nixpkgs].
To use it you must add to `boot.extraModulePackages` the following expression: `<nixpkgs>.callPackage
<linuxware>.packages.x86_64-linux.zenergy { kernel = <kernel package here> }` substituting the tags with their
appopriate replacements.
## wb32dfu-udev-rules
This package installs the udev rules necessary to allow flashing QMK/Vial onto keyboards that use WB32-DFU bootloaders.