nixcfg/hosts/common/locale.nix
Aly Raffauf a844e2ff68
hosts: reorganize common config (#39)
* hosts: mv common.nix -> common/default.nix

* hosts/common: move wifi settings to wifi.nix

* hosts/common: add locale.nix, nix.nix, samba.nix, and secrets.nix

* hosts/common: move network and wifi settings to network.nix

* hosts/common: org fixes
2024-07-16 16:53:28 -04:00

29 lines
672 B
Nix

{
config,
lib,
...
}: {
i18n = {
defaultLocale = lib.mkDefault "en_US.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = config.i18n.defaultLocale;
LC_IDENTIFICATION = config.i18n.defaultLocale;
LC_MEASUREMENT = config.i18n.defaultLocale;
LC_MONETARY = config.i18n.defaultLocale;
LC_NAME = config.i18n.defaultLocale;
LC_NUMERIC = config.i18n.defaultLocale;
LC_PAPER = config.i18n.defaultLocale;
LC_TELEPHONE = config.i18n.defaultLocale;
LC_TIME = config.i18n.defaultLocale;
};
};
services.xserver.xkb = {
layout = "us";
variant = "altgr-intl";
};
time.timeZone = "America/New_York";
}