From a4cedd467f028866a03f8f00d675d69448daf6be Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 7 May 2024 14:31:38 +0200 Subject: [PATCH] Set default locales --- flake.nix | 1 + lib/configuration.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 5a28c7e..aade100 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,7 @@ timeZone = null; keyMap = "us"; keyboardLayout = "us"; + localeSettings = { }; }; systems = [ { diff --git a/lib/configuration.nix b/lib/configuration.nix index 77cfcce..8711053 100644 --- a/lib/configuration.nix +++ b/lib/configuration.nix @@ -32,5 +32,7 @@ # Configure keyboard layout console.keyMap = machineConfig.keyMap; services.xserver.xkb.layout = machineConfig.keyboardLayout; + + i18n.extraLocaleSettings = machineConfig.localeSettings; }; }