From cb7d7da2b9c715db5bf8d0189d97ee96932db93e Mon Sep 17 00:00:00 2001 From: robin Date: Mon, 23 Jun 2025 17:37:25 +0200 Subject: [PATCH] fix(locale): change locale settings to `mkDefault` --- modules/nixos/environment/locale.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/environment/locale.nix b/modules/nixos/environment/locale.nix index 7edb11b8..4fc024a0 100644 --- a/modules/nixos/environment/locale.nix +++ b/modules/nixos/environment/locale.nix @@ -1,12 +1,12 @@ { lib, config, ... }: { time = { - timeZone = if config.garden.profiles.server.enable then "UTC" else "Europe/London"; + timeZone = lib.mkDefault (if config.garden.profiles.server.enable then "UTC" else "Europe/London"); hardwareClockInLocalTime = true; }; i18n = { - defaultLocale = "en_GB.UTF-8"; + defaultLocale = lib.mkDefault "en_GB.UTF-8"; extraLocales = lib.mkDefault [ "en_US.UTF-8/UTF-8" -- 2.51.2