about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2021-06-11 16:18:20 +0200
committerNaïm Favier <n@monade.li>2021-06-11 16:18:20 +0200
commit44055b455747c850bc3d2bcf5d87d068349efa6e (patch)
treebc1e98c3cd2be709f270f69159f9610370efc3e3 /nixos
parent33968c426b1c91e8a330540c8b430c04df9cd818 (diff)
downloadnixlib-44055b455747c850bc3d2bcf5d87d068349efa6e.tar
nixlib-44055b455747c850bc3d2bcf5d87d068349efa6e.tar.gz
nixlib-44055b455747c850bc3d2bcf5d87d068349efa6e.tar.bz2
nixlib-44055b455747c850bc3d2bcf5d87d068349efa6e.tar.lz
nixlib-44055b455747c850bc3d2bcf5d87d068349efa6e.tar.xz
nixlib-44055b455747c850bc3d2bcf5d87d068349efa6e.tar.zst
nixlib-44055b455747c850bc3d2bcf5d87d068349efa6e.zip
nixos/manual: update documentation on Qt themes
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/configuration/x-windows.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml
index e72193897068..315ed3acf971 100644
--- a/nixos/doc/manual/configuration/x-windows.xml
+++ b/nixos/doc/manual/configuration/x-windows.xml
@@ -191,9 +191,12 @@
   <para>
    GTK themes can be installed either to user profile or system-wide (via
    <literal>environment.systemPackages</literal>). To make Qt 5 applications
-   look similar to GTK2 ones, you can install <literal>qt5.qtbase.gtk</literal>
-   package into your system environment. It should work for all Qt 5 library
-   versions.
+   look similar to GTK ones, you can use the following configuration:
+<programlisting>
+<xref linkend="opt-qt5.enable"/> = true;
+<xref linkend="opt-qt5.platformTheme"/> = "gtk2";
+<xref linkend="opt-qt5.style"/> = "gtk2";
+</programlisting>
   </para>
  </simplesect>
  <simplesect xml:id="custom-xkb-layouts">