From c9dc8d54ac45cd04ec34f2eae6bbdc3ba1936327 Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Thu, 15 Jan 2026 00:16:48 +1100 Subject: [PATCH] fix(localisation): consolidate host-specific settings into single module --- hosts/desktop/configuration.nix | 2 -- hosts/laptop/configuration.nix | 2 -- modules/nixos/features/localisation.nix | 5 +++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 16a3b7b..982b9a1 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -40,8 +40,6 @@ system.stateVersion = "24.11"; - i18n.extraLocaleSettings.LC_ALL = "en_AU.UTF-8"; - users.users.${userName} = { extraGroups = [ # keep-sorted start diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 209193a..b81886a 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -32,8 +32,6 @@ system.stateVersion = "24.11"; - i18n.extraLocaleSettings.LC_ALL = "en_AU.UTF-8"; - users.users.${userName} = { extraGroups = [ # keep-sorted start diff --git a/modules/nixos/features/localisation.nix b/modules/nixos/features/localisation.nix index b6ab05e..ea5750f 100644 --- a/modules/nixos/features/localisation.nix +++ b/modules/nixos/features/localisation.nix @@ -1,10 +1,11 @@ { i18n = { defaultLocale = "en_AU.UTF-8"; - supportedLocales = [ + extraLocales = [ + "en_GB.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" - "en_AU.UTF-8/UTF-8" ]; + extraLocaleSettings.LC_ALL = "en_GB.UTF-8"; }; time.timeZone = "Australia/Melbourne";