summaryrefslogtreecommitdiff
path: root/parts/modules/nixos/base/locale.nix
blob: 7259ef2f8ba7814f74eab50936d95af1bbaf95e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  config,
  lib,
  ...
}: let
  cfg = config.base.defaultLocale;
  inherit (lib) mkIf;
in {
  config = mkIf cfg.enable {
    i18n = {
      supportedLocales = [
        "en_US.UTF-8/UTF-8"
      ];

      defaultLocale = "en_US.UTF-8";
    };
  };
}