diff options
| author | Mel <einebeere@gmail.com> | 2024-10-26 17:44:36 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-10-26 17:44:36 +0200 |
| commit | 1e0eca0bcbfc338a585842c65c4b48d62d79728d (patch) | |
| tree | 9ab21421d798f0812c966532d8c10bb5c8384e81 /modules/locale.nix | |
| download | network-1e0eca0bcbfc338a585842c65c4b48d62d79728d.tar.zst network-1e0eca0bcbfc338a585842c65c4b48d62d79728d.zip | |
Glued together corsac configuration
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules/locale.nix')
| -rw-r--r-- | modules/locale.nix | 32 |
1 files changed, 32 insertions, 0 deletions
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 = ""; + }; +} |
