add shift jis locale
This commit is contained in:
parent
9d96b28436
commit
4d2850b58f
|
|
@ -5,9 +5,18 @@
|
|||
...
|
||||
}: {
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
i18n.glibcLocales =
|
||||
(pkgs.glibcLocales.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
preBuild = builtins.replaceStrings ["false"] ["# false"] previousAttrs.preBuild;
|
||||
}))
|
||||
.override {
|
||||
locales = config.i18n.supportedLocales;
|
||||
allLocales = false;
|
||||
};
|
||||
i18n.supportedLocales = [
|
||||
"en_US.UTF-8/UTF-8"
|
||||
"ja_JP.UTF-8/UTF-8"
|
||||
"ja_JP.SJIS/SHIFT_JIS"
|
||||
];
|
||||
i18n.inputMethod = lib.mkIf config.u.has.graphical {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue