8 cfg = config.programs.iio-hyprland;
12 programs.iio-hyprland = {
13 enable = lib.mkEnableOption "iio-hyprland and iio-sensor-proxy";
14 package = lib.mkPackageOption pkgs "iio-hyprland" { };
18 config = lib.mkIf cfg.enable {
19 hardware.sensor.iio.enable = lib.mkDefault true;
21 environment.systemPackages = [ cfg.package ];
23 meta.maintainers = with lib.maintainers; [ yusuf-duran ];