hey fellow Nix aficionados, I need your aid!
I am in the process of switching my DEβs and decided to give Pantheon a spin.
By default, Pantheon comes with switchboard plugs and wingpanel indicators for network and Bluetooth, both of which I donβt actually need β I use a hardwired desktop machine with static address and no Bluetooth module, so I would love to drop dependencies on NetworkManager and Bluez stack.
Reading up the Docs and Wiki, they both mention that I can simply use override
on the wingpanel-with-indicators
to disable default indicators and configure the ones I need. So I put together an overlay to try and achieve this, which is looking something like this:
(
self: super:
let
pantheon = super.pantheon;
wingpanel = pantheon.wingpanel-with-indicators;
wingpanelIndicators = builtins.filter (
val:
val != pantheon.wingpanel-indicator-bluetooth
|| val != pantheon.wingpanel-indicator-network
) pantheon.wingpanelIndicators;
wingpanel-with-indicators = wingpanel.override {
useDefaultIndicators = false;
indicators = wingpanelIndicators;
};
in
{
pantheon = pantheon // {
inherit wingpanel-with-indicators;
};
}
)
but unfortunately all of the indicators are still being pulled into:
wingpanel: β
β 3.0.5, +557.6 KiB
wingpanel-applications-menu: β
β 2.11.1, +1322.3 KiB
wingpanel-indicator-a11y: β
β 1.0.2, +250.0 KiB
wingpanel-indicator-bluetooth: β
β 7.0.1, +764.2 KiB
wingpanel-indicator-datetime: β
β 2.4.1, +412.4 KiB
wingpanel-indicator-keyboard: β
β 2.4.1, +272.3 KiB
wingpanel-indicator-network: β
β 7.1.0, +502.7 KiB
wingpanel-indicator-nightlight: β
β 2.1.2, +288.4 KiB
wingpanel-indicator-notifications: β
β 7.1.0, +444.6 KiB
wingpanel-indicator-power: β
β 6.2.1, +612.9 KiB
wingpanel-indicator-session: β
β 2.3.1, +422.2 KiB
wingpanel-indicator-sound: β
β 7.0.0, +641.7 KiB
wingpanel-with-indicators: β
β 3.0.5, +939.6 KiB
What am I doing wrong? Thanks in advance