Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

Type: null or string

Default:

null

Example:

"adwaita"

Related packages:

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-highcontrastinverse

    Use the Adwaita style from adwaita-qt

  • breeze

    Use the Breeze style from breeze

  • bb10bright, bb10dark, cde, cleanlooks, gtk2, motif, plastique

    Use styles from qtstyleplugins

  • kvantum

    Use styles from kvantum

Type: null or string

Default:

null

Example:

"adwaita-dark"

Related packages:

Declared by: