From 1e0eca0bcbfc338a585842c65c4b48d62d79728d Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 26 Oct 2024 17:44:36 +0200 Subject: Glued together corsac configuration Signed-off-by: Mel --- modules/locale.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 modules/locale.nix (limited to 'modules/locale.nix') diff --git a/modules/locale.nix b/modules/locale.nix new file mode 100644 index 0000000..2c900c2 --- /dev/null +++ b/modules/locale.nix @@ -0,0 +1,32 @@ +{ config, pkgs, ... }: + +{ + # Set your time zone. + time.timeZone = "Europe/Berlin"; + + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + + # breaks tailscale ssh with constant + # "cannot change locale" messages when connecting. + # there may be a way to use these anyway... + # 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"; + # }; + + i18n.supportedLocales = [ "all" ]; + + # Configure keymap in X11 + services.xserver.xkb = { + layout = "us"; + variant = ""; + }; +} -- cgit 1.4.1