mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixos/suites/i18n: update to be null
by default
i18n setups in NixOS is a bit painful since it effectively allows only for one input method engine at a time.
This commit is contained in:
parent
e3350bd17d
commit
6666d55073
@ -10,12 +10,12 @@ in
|
|||||||
options.suites.i18n = {
|
options.suites.i18n = {
|
||||||
enable = lib.mkEnableOption "main i18n config";
|
enable = lib.mkEnableOption "main i18n config";
|
||||||
setup = lib.mkOption {
|
setup = lib.mkOption {
|
||||||
type = lib.types.enum [ "fcitx5" "ibus" ];
|
type = with lib.types; nullOr (enum [ "fcitx5" "ibus" ]);
|
||||||
description = ''
|
description = ''
|
||||||
The primary input method engine to be used and its related
|
The primary input method engine to be used and its related
|
||||||
configuration and setup.
|
configuration and setup.
|
||||||
'';
|
'';
|
||||||
default = "fcitx5";
|
default = null;
|
||||||
example = "ibus";
|
example = "ibus";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user