aboutsummaryrefslogtreecommitdiff
path: root/modules/system/localisation.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-11-03 00:19:09 +0100
committerschererleander <leander@schererleander.de>2025-11-03 00:19:09 +0100
commit03f03eee9f8417b540f0d1b0d1e8a4626d455ac3 (patch)
treebf7b8a76461e8a469b37197d9b6a78cb16dd2fb8 /modules/system/localisation.nix
parent9e2849e72a9a46515a9141226a0145fdbb5090c8 (diff)
chore: reorganize modules into subcategories
Diffstat (limited to 'modules/system/localisation.nix')
-rw-r--r--modules/system/localisation.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/system/localisation.nix b/modules/system/localisation.nix
new file mode 100644
index 0000000..ab8dfbf
--- /dev/null
+++ b/modules/system/localisation.nix
@@ -0,0 +1,23 @@
+{ ... }:
+
+let
+ locale = "en_US.UTF-8";
+in
+{
+ # Set your time zone.
+ time.timeZone = "Europe/Berlin";
+
+ # Select internationalisation properties.
+ i18n.defaultLocale = locale;
+ i18n.extraLocaleSettings = {
+ LC_ADDRESS = locale;
+ LC_IDENTIFICATION = locale;
+ LC_MEASUREMENT = locale;
+ LC_MONETARY = locale;
+ LC_NAME = locale;
+ LC_NUMERIC = locale;
+ LC_PAPER = locale;
+ LC_TELEPHONE = locale;
+ LC_TIME = locale;
+ };
+}