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

i18n.glibcLocales

Customized glibcLocales package providing the LOCALE_ARCHIVE_* environment variable.

This option only applies to the Linux platform.

If Home Manager is installed as a NixOS submodule, this option defaults to NixOS’ i18n.glibcLocales.

Type: absolute path

Default:

nixosConfig.i18n.glibcLocales or pkgs.glibcLocales

Example:

pkgs.glibcLocales.override {
  allLocales = false;
  locales = [ "en_US.UTF-8/UTF-8" ];
}

Declared by:

i18n.inputMethod.enable

Whether to enable an additional input method type.

Type: boolean

Default: true if the deprecated option enabled is set, false otherwise

Example:

true

Declared by:

i18n.inputMethod.enabled

Deprecated - use type and enable = true instead

Type: null or one of “fcitx”, “fcitx5”, “nabi”, “uim”, “hime”, “kime”

Default:

null

Example:

"fcitx5"

Declared by:

i18n.inputMethod.fcitx5.addons

Enabled Fcitx5 addons.

Type: list of package

Default:

[ ]

Example:

with pkgs; [ fcitx5-rime ]

Declared by:

i18n.inputMethod.fcitx5.fcitx5-with-addons

The fcitx5 package to use.

Type: package

Default:

<derivation fcitx5-with-addons-5.1.19>

Example:

pkgs.kdePackages.fcitx5-with-addons

Declared by:

i18n.inputMethod.fcitx5.ignoreUserConfig

Ignore the user configures. Warning: When this is enabled, the user config files are totally ignored and the user dict can’t be saved and loaded.

Type: boolean

Default:

false

Declared by:

i18n.inputMethod.fcitx5.quickPhrase

Quick phrases.

Type: attribute set of string

Default:

{ }

Example:

{
  angry = "( ̄ー ̄)";
  smile = "(・∀・)";
}

Declared by:

i18n.inputMethod.fcitx5.quickPhraseFiles

Quick phrase files.

Type: attribute set of absolute path

Default:

{ }

Example:

{
  words = ./words.mb;
  numbers = ./numbers.mb;
}

Declared by:

i18n.inputMethod.fcitx5.settings.addons

The addon configures in conf folder in ini format with global sections. Each item is written to the corresponding file.

Type: attribute set of (submodule)

Default:

{ }

Example:

{
  classicui = {
    globalSection = {
      Theme = "example";
    };
  };
  pinyin = {
    globalSection = {
      EmojiEnabled = "True";
    };
  };
}

Declared by:

i18n.inputMethod.fcitx5.settings.addons.<name>.globalSection

global section of an INI file (attrs of INI atom (null, bool, int, float or string))

Type: section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Declared by:

i18n.inputMethod.fcitx5.settings.addons.<name>.sections

attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Declared by:

i18n.inputMethod.fcitx5.settings.globalOptions

The global options in config file in ini format.

Type: open submodule of attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  Behavior = {
    ActiveByDefault = false;
  };
  Hotkey = {
    EnumerateSkipFirst = false;
    EnumerateWithTriggerKeys = true;
    ModifierOnlyKeyTimeout = 250;
  };
}

Declared by:

i18n.inputMethod.fcitx5.settings.inputMethod

The input method configure in profile file in ini format.

Type: open submodule of attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  GroupOrder = {
    "0" = "Default";
  };
  "Groups/0" = {
    "Default Layout" = "us";
    DefaultIM = "pinyin";
    Name = "Default";
  };
  "Groups/0/Items/0" = {
    Name = "keyboard-us";
  };
  "Groups/0/Items/1" = {
    Name = "pinyin";
  };
}

Declared by:

i18n.inputMethod.fcitx5.themes

Themes to be written to $XDG_DATA_HOME/fcitx5/themes/${name}

Type: lazy attribute set of (submodule)

Default:

{ }

Example:

""

Declared by:

i18n.inputMethod.fcitx5.themes.<name>.highlightImage

Path to the SVG of the highlight.

Type: null or absolute path

Default:

null

Declared by:

i18n.inputMethod.fcitx5.themes.<name>.panelImage

Path to the SVG of the panel.

Type: null or absolute path

Default:

null

Declared by:

i18n.inputMethod.fcitx5.themes.<name>.theme

The theme.conf file of the theme.

See https://fcitx-im.org/wiki/Fcitx_5_Theme#Background_images for more information.

Type: null or (attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))) or strings concatenated with “\n” or absolute path

Default:

null

Declared by:

i18n.inputMethod.fcitx5.waylandFrontend

Use the Wayland input method frontend. See Using Fcitx 5 on Wayland.

Type: boolean

Default:

false

Declared by:

i18n.inputMethod.kime.extraConfig

kime configuration. Refer to https://github.com/Riey/kime/blob/develop/docs/CONFIGURATION.md for details on supported values.

Type: strings concatenated with “\n”

Default:

""

Example:

daemon:
  modules: [Xim,Indicator]
indicator:
  icon_color: White
engine:
  hangul:
    layout: dubeolsik

Declared by:

i18n.inputMethod.type

Select the enabled input method. Input methods are software to input symbols that are not available on standard input devices.

Input methods are especially used to input Chinese, Japanese and Korean characters.

Currently the following input methods are available in Home Manager:

  • fcitx5

    A customizable lightweight input method. The next generation of fcitx. Addons (including engines, dictionaries, skins) can be added using .

  • nabi

    A Korean input method based on XIM. Nabi doesn’t support Qt 5.

  • uim

    The “universal input method” is a library with an XIM bridge. uim mainly supports Chinese, Japanese and Korean.

  • hime

    An extremely easy-to-use input method framework.

  • kime

    A Korean IME.

Type: null or one of “fcitx”, “fcitx5”, “nabi”, “uim”, “hime”, “kime”

Default: The value of the deprecated option enabled, defaulting to null

Example:

"fcitx5"

Declared by:

i18n.inputMethod.uim.toolbar

Selected UIM toolbar.

Type: one of “gtk”, “gtk3”, “gtk-systray”, “gtk3-systray”, “qt4”

Default:

"gtk"

Example:

"gtk-systray"

Declared by: