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

This commit is contained in:
Masum Reza
2024-11-17 18:22:07 +05:30
committed by GitHub

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