Anonymous user
KDE: Difference between revisions
Add section on theme configuration
imported>Vieta No edit summary |
imported>Onny (Add section on theme configuration) |
||
Line 1: | Line 1: | ||
KDE Plasma is a desktop environment that aims to be simple by default, powerful when needed. | KDE Plasma is a desktop environment that aims to be simple by default, powerful when needed. | ||
== | == Installation == | ||
To use KDE Plasma, add this to your configuration.nix: | To use KDE Plasma, add this to your configuration.nix: | ||
Line 11: | Line 11: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
== Excluding some KDE Plasma applications from the default install == | === Excluding some KDE Plasma applications from the default install === | ||
Not all applications that come pre-installed with the KDE Plasma desktop environment are desirable for everyone to have on their machines. There's a way to edit configuration.nix to exclude these kinds of packages, for example as follows: | Not all applications that come pre-installed with the KDE Plasma desktop environment are desirable for everyone to have on their machines. There's a way to edit configuration.nix to exclude these kinds of packages, for example as follows: | ||
Line 27: | Line 27: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
== Configuration == | |||
=== GNOME desktop integration === | |||
Using the following example configuration, QT applications will have a look similar to the [[GNOME]] desktop, using a dark theme | |||
<syntaxHighlight lang=nix> | |||
qt = { | |||
enable = true; | |||
platformTheme = "gnome"; | |||
style = "adwaita-dark"; | |||
}; | |||
</syntaxHighlight> | |||
== Troubleshoots == | == Troubleshoots == | ||
=== Qt/KDE applications segfault on start === | === Qt/KDE applications segfault on start === | ||
This is caused by a stale QML cache [https://github.com/NixOS/nixpkgs/issues/177720 (see this issue)]. A dirty way to fix this is by running on a terminal the following command: | This is caused by a stale QML cache [https://github.com/NixOS/nixpkgs/issues/177720 (see this issue)]. A dirty way to fix this is by running on a terminal the following command: | ||