summaryrefslogtreecommitdiff
path: root/modules/darwin/base/locale.nix
blob: c65c0464af1ff167e0dbf5471b303717e4682b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  config,
  lib,
  ...
}: let
  cfg = config.getchoo.base.defaultLocale;
  inherit (lib) mkEnableOption mkIf;
in {
  options.getchoo.base.defaultLocale.enable = mkEnableOption "enable default locale";

  config = mkIf cfg.enable {
    time.timeZone = "America/New_York";
  };
}