feat(nixos): Modularize i18n

This commit is contained in:
punkfairie 2025-01-06 18:28:42 -08:00
parent f1490bebf3
commit 6023edab0d
No known key found for this signature in database
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 11 additions and 16 deletions

View file

@ -0,0 +1,11 @@
_: {
time.timeZone = "America/Los_Angeles";
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_MESSAGES = "en_US.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
};
}

View file

@ -14,22 +14,6 @@ in {
networking.networkmanager.enable = true;
time.timeZone = "America/Los_Angeles";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;