Create locale.nix

This commit is contained in:
ediblerope 2025-12-03 15:48:57 +00:00 committed by GitHub
parent 5720df080b
commit e06dfd1ce7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

31
settings/locale.nix Normal file
View file

@ -0,0 +1,31 @@
# Common.nix
{ config, pkgs, lib, ... }:
{
# Set your time zone.
time.timeZone = "Europe/London";
# Select internationalisation properties.
i18n.defaultLocale = "en_GB.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_GB.UTF-8";
LC_IDENTIFICATION = "en_GB.UTF-8";
LC_MEASUREMENT = "en_GB.UTF-8";
LC_MONETARY = "en_GB.UTF-8";
LC_NAME = "en_GB.UTF-8";
LC_NUMERIC = "en_GB.UTF-8";
LC_PAPER = "en_GB.UTF-8";
LC_TELEPHONE = "en_GB.UTF-8";
LC_TIME = "en_GB.UTF-8";
};
# Configure keymap in X11
services.xserver.xkb = {
layout = "gb";
variant = "";
};
# Configure console keymap
console.keyMap = "uk";
}