···55The Coq derivation is overridable through the `coq.override overrides`, where overrides is an attribute set which contains the arguments to override. We recommend overriding either of the following
6677* `version` (optional, defaults to the latest version of Coq selected for nixpkgs, see `pkgs/top-level/coq-packages` to witness this choice), which follows the conventions explained in the `coqPackages` section below,
88-* `customOCamlPackage` (optional, defaults to `null`, which lets Coq choose a version automatically), which can be set to any of the ocaml packages attribute of `ocaml-ng` (such as `ocaml-ng.ocamlPackages_4_10` which is the default for Coq 8.11 for example).
88+* `customOCamlPackages` (optional, defaults to `null`, which lets Coq choose a version automatically), which can be set to any of the ocaml packages attribute of `ocaml-ng` (such as `ocaml-ng.ocamlPackages_4_10` which is the default for Coq 8.11 for example).
99* `coq-version` (optional, defaults to the short version e.g. "8.10"), is a version number of the form "x.y" that indicates which Coq's version build behavior to mimic when using a source which is not a release. E.g. `coq.override { version = "d370a9d1328a4e1cdb9d02ee032f605a9d94ec7a"; coq-version = "8.10"; }`.
1010+1111+The associated package set can be optained using `mkCoqPackages coq`, where `coq` is the derivation to use.
10121113## Coq packages attribute sets: `coqPackages` {#coq-packages-attribute-sets-coqpackages}
1214
+49
nixos/modules/config/xdg/portals/lxqt.nix
···11+{ config, pkgs, lib, ... }:
22+33+with lib;
44+55+let
66+ cfg = config.xdg.portal.lxqt;
77+88+in
99+{
1010+ meta = {
1111+ maintainers = teams.lxqt.members;
1212+ };
1313+1414+ options.xdg.portal.lxqt = {
1515+ enable = mkEnableOption ''
1616+ the desktop portal for the LXQt desktop environment.
1717+1818+ This will add the <package>lxqt.xdg-desktop-portal-lxqt</package>
1919+ package (with the extra Qt styles) into the
2020+ <option>xdg.portal.extraPortals</option> option
2121+ '';
2222+2323+ styles = mkOption {
2424+ type = types.listOf types.package;
2525+ default = [];
2626+ example = literalExpression ''[
2727+ pkgs.libsForQt5.qtstyleplugin-kvantum
2828+ pkgs.breeze-qt5
2929+ pkgs.qtcurve
3030+ ];
3131+ '';
3232+ description = ''
3333+ Extra Qt styles that will be available to the
3434+ <package>lxqt.xdg-desktop-portal-lxqt</package>.
3535+ '';
3636+ };
3737+ };
3838+3939+ config = mkIf cfg.enable {
4040+ xdg.portal = {
4141+ enable = true;
4242+ extraPortals = [
4343+ (pkgs.lxqt.xdg-desktop-portal-lxqt.override { extraQtStyles = cfg.styles; })
4444+ ];
4545+ };
4646+4747+ environment.systemPackages = cfg.styles;
4848+ };
4949+}