aboutsummaryrefslogtreecommitdiff
path: root/modules/hosts/system/localisation.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hosts/system/localisation.nix')
-rw-r--r--modules/hosts/system/localisation.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/hosts/system/localisation.nix b/modules/hosts/system/localisation.nix
new file mode 100644
index 0000000..229c45f
--- /dev/null
+++ b/modules/hosts/system/localisation.nix
@@ -0,0 +1,24 @@
+{ ... }:
+
+let
+ locale = "de_DE.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;
+ };
+ console.keyMap = "de";
+}