about summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-10-19 13:58:24 +0100
committerThiago Kenji Okada <thiagokokada@gmail.com>2023-10-19 21:54:22 +0100
commit38623a80038f638bd6da083e762e803b7616267c (patch)
tree29b7c42b11cbeadba73c2fd3b2270a317d4875a1 /nixos/modules/config
parent39250f5df5f377509350a2b38836e2ee3365de9d (diff)
nixos/qt: improve module documentation
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/qt.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/nixos/modules/config/qt.nix b/nixos/modules/config/qt.nix
index da2a7f8762830..f82b7ab85a8c3 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));