i18n.imperativeLocale

NixOS option

Whether to enable imperative locale and keyboard management via localectl. When enabled, locale and keyboard settings can be changed at runtime using localectl set-locale and localectl set-keymap. When disabled (the default), these settings are managed declaratively through i18n.defaultLocale, i18n.extraLocaleSettings, and console.keyMap. .

type: boolean
Default
false
Example
true
declared in: nixos/modules/config/i18n.nixView source on NixOS/nixpkgs →