mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
nixos/doc: mention qt and gtk modules
This commit is contained in:
parent
956c60eda8
commit
ffdc7dc3be
@ -160,6 +160,38 @@
|
|||||||
package into your system environment. It should work for all Qt 5 library
|
package into your system environment. It should work for all Qt 5 library
|
||||||
versions.
|
versions.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
With help of
|
||||||
|
<option>
|
||||||
|
<link linkend="opt-gtk.enable">
|
||||||
|
gtk
|
||||||
|
</link>
|
||||||
|
</option>
|
||||||
|
and
|
||||||
|
<option>
|
||||||
|
<link linkend="opt-qt.enable">
|
||||||
|
qt
|
||||||
|
</link>
|
||||||
|
</option>
|
||||||
|
modules you can declaratively set system-wide themes settings.
|
||||||
|
<programlisting>
|
||||||
|
gtk.enable = true;
|
||||||
|
gtk.theme = {
|
||||||
|
name = "Adwaita-dark";
|
||||||
|
package = pkgs.gnome-themes-extra;
|
||||||
|
};
|
||||||
|
gtk.iconTheme = {
|
||||||
|
name = "Adwaita";
|
||||||
|
package = pkgs.gnome3.adwaita-icon-theme;
|
||||||
|
};
|
||||||
|
qt.enable = true;
|
||||||
|
qt.platformTheme = "gtk3";
|
||||||
|
qt.style = {
|
||||||
|
name = "adwaita-dark";
|
||||||
|
package = pkgs.adwaita-qt;
|
||||||
|
};
|
||||||
|
</programlisting>
|
||||||
|
</para>
|
||||||
</simplesect>
|
</simplesect>
|
||||||
<simplesect xml:id="custom-xkb-layouts">
|
<simplesect xml:id="custom-xkb-layouts">
|
||||||
<title>Custom XKB layouts</title>
|
<title>Custom XKB layouts</title>
|
||||||
|
Loading…
Reference in New Issue
Block a user