diff options
author | Patrick Chilton <chpatrick@gmail.com> | 2021-06-01 09:59:58 +0200 |
---|---|---|
committer | Patrick Chilton <chpatrick@gmail.com> | 2021-06-01 14:04:30 +0200 |
commit | 6bcd4fe4effb0c8984feaf57b85a581376489618 (patch) | |
tree | c006a3f07a8c3f5869f500a9fce3773a121befd7 /nixos/modules/services/x11/desktop-managers/gnome.nix | |
parent | 424cd7d999bb9a35ec3a545883530f9c7c9fd6c1 (diff) |
gnome-flashback: add module support to gnome-panel for installing applets
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/gnome.nix')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/gnome.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/gnome.nix b/nixos/modules/services/x11/desktop-managers/gnome.nix index c5e6caeea902..1b534096f5ba 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome.nix @@ -261,6 +261,17 @@ in default = []; description = "Other GNOME Flashback sessions to enable."; }; + + panelModulePackages = mkOption { + default = [ pkgs.gnome.gnome-applets ]; + type = types.listOf types.path; + description = '' + Packages containing modules that should be made available to <literal>gnome-panel</literal> (usually for applets). + + If you're packaging something to use here, please install the modules in <literal>$out/lib/gnome-panel/modules</literal>. + ''; + example = literalExample "[ pkgs.gnome.gnome-applets ]"; + }; }; }; @@ -323,6 +334,7 @@ in (wm: pkgs.gnome.gnome-flashback.mkSessionForWm { inherit (wm) wmName wmLabel wmCommand enableGnomePanel; + inherit (cfg.flashback) panelModulePackages; } ) flashbackWms; |