From 38623a80038f638bd6da083e762e803b7616267c Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Thu, 19 Oct 2023 13:58:24 +0100 Subject: [PATCH] nixos/qt: improve module documentation --- nixos/modules/config/qt.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/modules/config/qt.nix b/nixos/modules/config/qt.nix index da2a7f876283..f82b7ab85a8c 100644 --- a/nixos/modules/config/qt.nix +++ b/nixos/modules/config/qt.nix @@ -41,7 +41,14 @@ in options = { qt = { - enable = lib.mkEnableOption (lib.mdDoc "Qt theming configuration"); + enable = lib.mkEnableOption "" // { + description = lib.mdDoc '' + Whether to enable Qt configuration, including theming. + + Enabling this option is necessary for Qt plugins to work in the + installed profiles (e.g.: `nix-env -i` or `environment.systemPackages`). + ''; + }; platformTheme = lib.mkOption { type = with lib.types; nullOr (enum (lib.attrNames platformPackages));