nixos: move locale out of common

This commit is contained in:
Primrose 2025-04-04 23:57:01 +02:00
parent 875f7e7d4b
commit b5776cf3ef
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,8 @@
{pkgs, ...}: {
imports = [
./hardware-configuration.nix # generated
./fs.nix
./restic.nix
./battery.nix
@ -11,9 +13,7 @@
./display.nix
./gui.nix
./restic.nix
./fs.nix
./locale.nix
./unfree-predicate.nix
./programs.nix
];

View file

@ -0,0 +1,13 @@
{lib, ...}: {
config = lib.mkDefault {
time.timeZone = "Europe/Paris";
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
"en_US.UTF-8/UTF-8"
"fr_FR.UTF-8/UTF-8"
"zh_TW.UTF-8/UTF-8"
];
};
};
}