Fix locale

This commit is contained in:
Geoffrey Frogeye 2024-03-10 19:13:57 +01:00
parent a0d7e43a9d
commit 440b1e0563
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 8 additions and 4 deletions

View file

@ -54,6 +54,7 @@ in
# General settings # General settings
[{ [{
"mail.pane_config.dynamic" = 0; "mail.pane_config.dynamic" = 0;
"intl.date_time.pattern_override.date_short" = "yyyy-MM-dd";
}] }]
)) ""; )) "";

View file

@ -144,10 +144,6 @@
''; '';
}; };
stateVersion = "23.11"; stateVersion = "23.11";
language = {
base = "en_US.UTF-8";
# time = "en_DK.UTF-8"; # TODO Disabled because complaints during nixos-rebuild switch
};
packages = with pkgs; [ packages = with pkgs; [
# Terminal utils # Terminal utils
coreutils coreutils

View file

@ -31,6 +31,13 @@
git # Needed for all the fetchFromGit in this repo on nixos-rebuild git # Needed for all the fetchFromGit in this repo on nixos-rebuild
]; ];
i18n = {
defaultLocale = "en_GB.UTF-8";
extraLocaleSettings = {
LC_TIME = "en_DK.UTF-8"; # Should give YYYY-MM-DD but doesn't work for browser & Thunderbird :(
};
};
nix.settings = { nix.settings = {
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" ];
warn-dirty = false; warn-dirty = false;