update: move locale.nix out of services dir

This commit is contained in:
Veneficium 2024-09-18 18:07:00 +02:00
parent 2531504b58
commit 5266f9ad65
2 changed files with 3 additions and 6 deletions

View file

@ -1,29 +0,0 @@
{ lib, ... }: {
/*options.settings.locale = {
enable = lib.mkEnableOption "enable locale config";
it = lib.mkEnableOption "use IT locale";
};*/
time.timeZone = "Europe/Rome";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "it_IT.UTF-8";
LC_IDENTIFICATION = "it_IT.UTF-8";
LC_MEASUREMENT = "it_IT.UTF-8";
LC_MONETARY = "it_IT.UTF-8";
LC_NAME = "it_IT.UTF-8";
LC_NUMERIC = "it_IT.UTF-8";
LC_PAPER = "it_IT.UTF-8";
LC_TELEPHONE = "it_IT.UTF-8";
LC_TIME = "it_IT.UTF-8";
};
console.keyMap = "it";
services.xserver.xkb = {
layout = "it";
variant = "";
};
}