From 6174f3650cf42aaf008012e828d5a1f8e2ce037f Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Thu, 8 Jan 2026 02:48:11 +0100 Subject: refactor(modules): separate nixos/home-manager modules, use standard option conventions --- modules/hosts/system/localisation.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/hosts/system/localisation.nix (limited to 'modules/hosts/system/localisation.nix') 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"; +} -- cgit v1.3.1