qt.enable
Whether to enable Qt 5 and 6 configuration.
Type: boolean
Default:
false
Example:
true
Declared by:
qt.kde.settings
A set of values to be modified by kwriteconfig6.
The example value would cause the following command to run in the activation script:
kwriteconfig6 --file $XDG_CONFIG_HOME/powermanagementprofilesrc \
--group AC \
--group HandleButtonEvents \
--group lidAction \
--key lidAction \
32
Note, null values will delete the corresponding entry instead of
inserting any value.
Type: attribute set of (KDE option value)
Default:
{ }
Example:
{
powermanagementprofilesrc = {
AC = {
HandleButtonEvents = {
lidAction = 32;
};
};
};
}
Declared by:
qt.kvantum.enable
Whether to enable Kvantum configuration.
Type: boolean
Default:
false
Example:
true
Declared by:
qt.kvantum.settings
Global configuration settings written to $XDG_CONFIG_HOME/Kvantum/kvantum.kvconfig.
Type: open submodule of attribute set of section of a kvconfig file (attrs of INI atom (null, bool, int, float or string) or a non-empty list of them)
Default:
{ }
Example:
{
Applications = {
KvArc = [
"app1"
"app2"
];
KvFlat = [
"app3"
];
};
General = {
theme = "KvAdapta";
};
SomethingElse = {
foo = "bar";
};
}
Declared by:
qt.kvantum.settings.Applications
Application configuration settings for Kvantum.
Themes set here will override qt.kvantum.settings.General.theme
for their specific applications.
Type: attribute set of list of string
Default:
{ }
Example:
{
KvArc = [
"app1"
"app2"
];
KvFlat = [
"app3"
];
}
Declared by:
qt.kvantum.settings.General
General configuration settings for Kvantum.
Type: open submodule of section of a kvconfig file (attrs of INI atom (null, bool, int, float or string) or a non-empty list of them)
Default:
{ }
Example:
{
theme = "KvAdapta";
}
Declared by:
qt.kvantum.settings.General.theme
The default Kvantum theme to use.
Type: null or string
Default:
null
Example:
"KvAdapta"
Declared by:
qt.kvantum.themes
Theme packages to install to $XDG_CONFIG_HOME/Kvantum/.
Type: list of package
Default:
[ ]
Example:
with pkgs; [
gruvbox-kvantum
catppuccin-kvantum
]
Declared by:
qt.platformTheme
Deprecated. Use qt.platformTheme.name instead.
Type: null or one of “gtk”, “gtk3”, “gnome”, “adwaita”, “lxqt”, “qtct”, “kde”, “kde6” or (submodule)
Default:
null
Declared by:
qt.platformTheme.package
Theme package to be used in Qt5/Qt6 applications.
Auto-detected from qt.platformTheme.name if possible.
See its documentation for available options.
Type: null or package or list of package
Default:
null
Example:
[pkgs.adwaita-qt pkgs.adwaita-qt6]
qt.platformTheme.name
Platform theme to use for Qt applications.
Some examples are
-
gtkUse Qt’s GTK platform theme plugin
-
gtk2Use GTK2 theme with
qtstylepluginsandqt6gtk2 -
gtk3Use GTK3 integration for file picker dialogs, font and theme configuration
-
adwaitaUse Adwaita theme with
qadwaitadecorations -
gnome(deprecated)Use GNOME theme with
qgnomeplatform. Is no longer maintained so preferadwaita. -
lxqtUse LXQt theme style set using the
lxqt-config-appearanceapplication -
qtct -
kdeUse Qt settings from Plasma
Type: null or string
Default:
null
Example:
"adwaita"
Related packages:
pkgs.qgnomeplatformpkgs.qgnomeplatform-qt6pkgs.qadwaitadecorationspkgs.qadwaitadecorations-qt6pkgs.libsForQt5.plasma-integrationpkgs.libsForQt5.qt5ctpkgs.libsForQt5.qtstylepluginspkgs.libsForQt5.systemsettingspkgs.kdePackages.plasma-integrationpkgs.kdePackages.systemsettingspkgs.lxqt.lxqt-configpkgs.lxqt.lxqt-qtpluginpkgs.qt6Packages.qt6ctpkgs.qt6Packages.qt6gtk2
qt.qt5ctSettings
Qtct configuration. Writes settings to qt5ct/qt5ct.conf
file. Lists will be translated to comma-separated strings.
Fonts must be quoted (see example).
Type: null or (attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string) or a non-empty list of them))
Default:
null
Example:
{
Appearance = {
icon_theme = "Papirus-Dark";
standard_dialogs = "xdgdesktopportal";
style = "kvantum";
};
Fonts = {
fixed = "\"DejaVuSansM Nerd Font Mono,12\"";
general = "\"DejaVu Sans,12\"";
};
}
Declared by:
qt.qt6ctSettings
Qtct configuration. Writes settings to qt6ct/qt6ct.conf
file. Lists will be translated to comma-separated strings.
Fonts must be quoted (see example).
Type: null or (attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string) or a non-empty list of them))
Default:
null
Example:
{
Appearance = {
icon_theme = "Papirus-Dark";
standard_dialogs = "xdgdesktopportal";
style = "kvantum";
};
Fonts = {
fixed = "\"DejaVuSansM Nerd Font Mono,12\"";
general = "\"DejaVu Sans,12\"";
};
}
Declared by:
qt.style.package
Theme package to be used in Qt5/Qt6 applications.
Auto-detected from qt.style.name if possible.
See its documentation for available options.
Type: null or package or list of package
Default:
null
Example:
pkgs.adwaita-qt
Declared by:
qt.style.name
Style to use for Qt5/Qt6 applications. Case-insensitive.
Some examples are
-
adwaita,adwaita-dark,adwaita-highcontrast,adwaita-highcontrastinverseUse the Adwaita style from
adwaita-qt -
breezeUse the Breeze style from
breeze -
bb10bright,bb10dark,cde,cleanlooks,gtk2,motif,plastiqueUse styles from
qtstyleplugins -
kvantumUse styles from
kvantum
Type: null or string
Default:
null
Example:
"adwaita-dark"
Related packages:
pkgs.adwaita-qtpkgs.adwaita-qt6pkgs.libsForQt5.breeze-qt5pkgs.libsForQt5.qtstyleplugin-kvantumpkgs.libsForQt5.qtstylepluginspkgs.qt6Packages.qt6gtk2pkgs.qt6Packages.qtstyleplugin-kvantum
Declared by: