{ config, ... }:
{
    nixpkgs.overlays = [
        (self: super: {
            horizon-eda = (super.horizon-eda.overrideAttrs (old: {
                # Add an environment variable to fix redraw issues on Intel Graphics
                patches = [
                    ./horizon_software_draw_surface.patch
                ];
            }));
        })
    ];
}