nixos/g810-led: fix module (#356687)

This commit is contained in:
Masum Reza 2024-11-17 18:22:07 +05:30 committed by GitHub
commit 9930c0783d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 ];