nixos/pantheon: options for extra switchboard plugs and wingpanel indicators

This commit is contained in:
worldofpeace 2019-12-20 12:22:39 -05:00
parent 4f49053ad9
commit 016c589bb4

View file

@ -52,6 +52,18 @@ in
];
};
extraWingpanelIndicators = mkOption {
default = null;
type = with types; nullOr (listOf package);
description = "Indicators to add to Wingpanel.";
};
extraSwitchboardPlugs = mkOption {
default = null;
type = with types; nullOr (listOf package);
description = "Plugs to add to Switchboard.";
};
extraGSettingsOverrides = mkOption {
default = "";
type = types.lines;
@ -183,8 +195,12 @@ in
elementary-session-settings
elementary-shortcut-overlay
gala
switchboard-with-plugs
wingpanel-with-indicators
(switchboard-with-plugs.override {
plugs = cfg.extraSwitchboardPlugs;
})
(wingpanel-with-indicators.override {
indicators = cfg.extraWingpanelIndicators;
})
# Services
cerbere