diff options
author | Vladimír Čunát <v@cunat.cz> | 2022-06-25 10:28:36 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2022-06-25 10:29:27 +0200 |
commit | 24b43564ff1e360fbd74b29cd3ed3dbd322a83b2 (patch) | |
tree | 7501e3603d7aa323aa569a0d5291f291847625ac /nixos/modules/config | |
parent | ba5faae6cee4e662fd8e820b4dd627ff98a88359 (diff) | |
parent | 515b36c0939b2fd96072eef7e58722900218897b (diff) | |
download | nixpkgs-24b43564ff1e360fbd74b29cd3ed3dbd322a83b2.tar nixpkgs-24b43564ff1e360fbd74b29cd3ed3dbd322a83b2.tar.gz nixpkgs-24b43564ff1e360fbd74b29cd3ed3dbd322a83b2.tar.bz2 nixpkgs-24b43564ff1e360fbd74b29cd3ed3dbd322a83b2.tar.lz nixpkgs-24b43564ff1e360fbd74b29cd3ed3dbd322a83b2.tar.xz nixpkgs-24b43564ff1e360fbd74b29cd3ed3dbd322a83b2.tar.zst nixpkgs-24b43564ff1e360fbd74b29cd3ed3dbd322a83b2.zip |
Merge #177318: nixos/i18n: reduce default supportedLocales
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/i18n.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/config/i18n.nix b/nixos/modules/config/i18n.nix index 5b8d5b21449..53dd325457e 100644 --- a/nixos/modules/config/i18n.nix +++ b/nixos/modules/config/i18n.nix @@ -53,7 +53,8 @@ with lib; supportedLocales = mkOption { type = types.listOf types.str; - default = ["all"]; + default = [ (config.i18n.defaultLocale + "/UTF-8") ]; + defaultText = literalExpression "[ (config.i18n.defaultLocale + \"/UTF-8\") ]"; example = ["en_US.UTF-8/UTF-8" "nl_NL.UTF-8/UTF-8" "nl_NL/ISO-8859-1"]; description = '' List of locales that the system should support. The value |