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

@ -11,7 +11,9 @@
# nixos-generate-config should normally set up file systems correctly
imports = [
#inputs.home-manager.nixosModules.home-manager
inputs.home-manager.nixosModules.home-manager
# Import locale settings
../../shared/locale/configuration.nix
./hardware-configuration.nix
];
@ -149,21 +151,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";
};
programs.zsh = {
enable = true;
};