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 { extraGSettingsOverrides = mkOption {
default = ""; default = "";
type = types.lines; type = types.lines;
@ -183,8 +195,12 @@ in
elementary-session-settings elementary-session-settings
elementary-shortcut-overlay elementary-shortcut-overlay
gala gala
switchboard-with-plugs (switchboard-with-plugs.override {
wingpanel-with-indicators plugs = cfg.extraSwitchboardPlugs;
})
(wingpanel-with-indicators.override {
indicators = cfg.extraWingpanelIndicators;
})
# Services # Services
cerbere cerbere