Small refactor to make locale a global setting

This commit is contained in:
Lillian Violet 2024-01-09 13:19:42 +01:00
parent d76d21a39b
commit 808ab9fea5
5 changed files with 36 additions and 61 deletions

View file

@ -8,6 +8,9 @@
pkgs,
...
}: {
imports = [
../shared/locale/configuration.nix
];
nixpkgs = {
# You can add overlays here
overlays = [
@ -101,21 +104,6 @@
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "nl_NL.UTF-8";
LC_IDENTIFICATION = "nl_NL.UTF-8";
LC_MEASUREMENT = "nl_NL.UTF-8";
LC_MONETARY = "nl_NL.UTF-8";
LC_NAME = "nl_NL.UTF-8";
LC_NUMERIC = "nl_NL.UTF-8";
LC_PAPER = "nl_NL.UTF-8";
LC_TELEPHONE = "nl_NL.UTF-8";
LC_TIME = "en_DK.UTF-8";
};
# Enable the X11 windowing system.
services.xserver.enable = true;