8 cfg = config.xdg.portal.lxqt;
13 maintainers = lib.teams.lxqt.members;
16 options.xdg.portal.lxqt = {
17 enable = lib.mkEnableOption ''
18 the desktop portal for the LXQt desktop environment.
20 This will add the `lxqt.xdg-desktop-portal-lxqt`
21 package (with the extra Qt styles) into the
22 {option}`xdg.portal.extraPortals` option
25 styles = lib.mkOption {
26 type = lib.types.listOf lib.types.package;
28 example = lib.literalExpression ''
30 pkgs.libsForQt5.qtstyleplugin-kvantum
36 Extra Qt styles that will be available to the
37 `lxqt.xdg-desktop-portal-lxqt`.
42 config = lib.mkIf cfg.enable {
46 (pkgs.lxqt.xdg-desktop-portal-lxqt.override { extraQtStyles = cfg.styles; })
50 environment.systemPackages = cfg.styles;