i18n.nix (412B)
1 { config, lib, pkgs, ... }: 2 3 with lib; 4 let 5 cfg = config.core.i18n; 6 in 7 { 8 options = { 9 core.i18n = { 10 enable = mkOption { 11 default = true; 12 description = "Enable i18n profile"; 13 type = types.bool; 14 }; 15 }; 16 }; 17 config = mkIf cfg.enable { 18 console.keyMap = "fr-bepo"; 19 console.font = "Lat2-Terminus16"; 20 i18n = { 21 defaultLocale = "en_US.UTF-8"; 22 }; 23 }; 24 }