1 { config, pkgs, lib, ... }:
3 cfg = config.xdg.portal.lxqt;
8 maintainers = lib.teams.lxqt.members;
11 options.xdg.portal.lxqt = {
12 enable = lib.mkEnableOption ''
13 the desktop portal for the LXQt desktop environment.
15 This will add the `lxqt.xdg-desktop-portal-lxqt`
16 package (with the extra Qt styles) into the
17 {option}`xdg.portal.extraPortals` option
20 styles = lib.mkOption {
21 type = lib.types.listOf lib.types.package;
23 example = lib.literalExpression ''[
24 pkgs.libsForQt5.qtstyleplugin-kvantum
30 Extra Qt styles that will be available to the
31 `lxqt.xdg-desktop-portal-lxqt`.
36 config = lib.mkIf cfg.enable {
40 (pkgs.lxqt.xdg-desktop-portal-lxqt.override { extraQtStyles = cfg.styles; })
44 environment.systemPackages = cfg.styles;