diff options
| author | Mel <einebeere@gmail.com> | 2024-10-14 22:15:32 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-10-14 22:15:32 +0200 |
| commit | 7bca7fb6cac0a3d6479ee8dd8fb5f13fa0261a51 (patch) | |
| tree | ced025aff19ffe1a9a040f3e8034a48a88285b3a /modules/locale.nix | |
| download | minerals-7bca7fb6cac0a3d6479ee8dd8fb5f13fa0261a51.tar.zst minerals-7bca7fb6cac0a3d6479ee8dd8fb5f13fa0261a51.zip | |
Break up configuration for multiple machines
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules/locale.nix')
| -rw-r--r-- | modules/locale.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/locale.nix b/modules/locale.nix new file mode 100644 index 0000000..2a4f45b --- /dev/null +++ b/modules/locale.nix @@ -0,0 +1,27 @@ +{ config, pkgs, ... }: + +{ + # Set your time zone. + time.timeZone = "Europe/Berlin"; + + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + + i18n.extraLocaleSettings = { + LC_ADDRESS = "de_DE.UTF-8"; + LC_IDENTIFICATION = "de_DE.UTF-8"; + LC_MEASUREMENT = "de_DE.UTF-8"; + LC_MONETARY = "de_DE.UTF-8"; + LC_NAME = "de_DE.UTF-8"; + LC_NUMERIC = "de_DE.UTF-8"; + LC_PAPER = "de_DE.UTF-8"; + LC_TELEPHONE = "de_DE.UTF-8"; + LC_TIME = "de_DE.UTF-8"; + }; + + # Configure keymap in X11 + services.xserver.xkb = { + layout = "us"; + variant = ""; + }; +} |
