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:
Gabriel Arazas 2024-06-26 12:31:33 +08:00
parent e3350bd17d
commit 6666d55073
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -10,12 +10,12 @@ in
options.suites.i18n = {
enable = lib.mkEnableOption "main i18n config";
setup = lib.mkOption {
type = lib.types.enum [ "fcitx5" "ibus" ];
type = with lib.types; nullOr (enum [ "fcitx5" "ibus" ]);
description = ''
The primary input method engine to be used and its related
configuration and setup.
'';
default = "fcitx5";
default = null;
example = "ibus";
};
};