From ddf5557b707f949a772431be4544194726633322 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 6 Feb 2026 10:12:02 +0100 Subject: ... --- system-profiles/default-locale.nix | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'system-profiles/default-locale.nix') diff --git a/system-profiles/default-locale.nix b/system-profiles/default-locale.nix index 68bc4240..add98696 100644 --- a/system-profiles/default-locale.nix +++ b/system-profiles/default-locale.nix @@ -4,22 +4,10 @@ config = lib.foldr lib.recursiveUpdate {} ([ { i18n = { - defaultLocale = "en_SE.UTF-8"; - - glibcLocales = - (pkgs.glibcLocales.override { - allLocales = false; - locales = config.i18n.supportedLocales; - }).overrideAttrs (_: { - postUnpack = '' - cp ${pkgs.fetchurl { - url = "https://gist.githubusercontent.com/bmaupin/d64368e78cd359d309685fecbe2baf23/raw/e933a0fc2e727aa640f4a1cb1f699622876940fc/en_SE"; - hash = "sha256-ArXL+rMDVWI4Mmcw8xoRlZFXhEeSQL0tLJf5pKEOx3s="; - }} $sourceRoot/localedata/locales/en_SE - echo 'en_SE.UTF-8/UTF-8 \' >> $sourceRoot/localedata/SUPPORTED - ''; - }); + defaultLocale = "en_DK.UTF-8"; }; + console.keyMap = mkDefault "dvorak-programmer"; + time.timeZone = mkDefault "Europe/Berlin"; } ] ++ (lib.optional (options ? i18n.extraLocales) { i18n.extraLocales = [ "C.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" ]; -- cgit v1.2.3