nixos/g810-led: fix module

(cherry picked from commit 8fac714b78)
This commit is contained in:
Gaetan Lepage 2024-11-17 11:43:53 +01:00 committed by github-actions[bot]
parent d89cf08495
commit c7af27341c

View File

@ -36,9 +36,9 @@ in
};
config = lib.mkIf cfg.enable {
environment.etc."g810-led/profile" = lib.mkIf (cfg.profile != null) cfg.profile;
environment.etc."g810-led/profile".text = lib.mkIf (cfg.profile != null) cfg.profile;
services.udev.packages = [ config.package ];
services.udev.packages = [ cfg.package ];
};
meta.maintainers = with lib.maintainers; [ GaetanLepage ];