aboutsummaryrefslogtreecommitdiff
path: root/modules/system/localisation.nix
diff options
context:
space:
mode:
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;
+ };
+}