1 { config, lib, pkgs, ... }:
4 cfg = config.programs.plotinus;
8 maintainers = pkgs.plotinus.meta.maintainers;
16 enable = lib.mkOption {
19 Whether to enable the Plotinus GTK 3 plugin. Plotinus provides a
20 popup (triggered by Ctrl-Shift-P) to search the menus of a
21 compatible application.
23 type = lib.types.bool;
30 config = lib.mkIf cfg.enable {
31 environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.plotinus}/share/gsettings-schemas/${pkgs.plotinus.name}" ];
32 environment.variables.GTK3_MODULES = [ "${pkgs.plotinus}/lib/libplotinus.so" ];