mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-21 19:52:52 +00:00
add locale
This commit is contained in:
parent
f12927c0f9
commit
48447ae5a5
3 changed files with 18 additions and 13 deletions
|
@ -32,19 +32,6 @@
|
|||
time.timeZone = "Asia/Kolkata";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_IN";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_IN";
|
||||
LC_IDENTIFICATION = "en_IN";
|
||||
LC_MEASUREMENT = "en_IN";
|
||||
LC_MONETARY = "en_IN";
|
||||
LC_NAME = "en_IN";
|
||||
LC_NUMERIC = "en_IN";
|
||||
LC_PAPER = "en_IN";
|
||||
LC_TELEPHONE = "en_IN";
|
||||
LC_TIME = "en_IN";
|
||||
};
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
source-han-serif
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
./filesystem
|
||||
./hardware
|
||||
./kernel
|
||||
./locale
|
||||
./networking
|
||||
];
|
||||
}
|
||||
|
|
17
modules/nixos/locale/default.nix
Normal file
17
modules/nixos/locale/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
_: {
|
||||
i18n = {
|
||||
defaultLocale = "en_IN";
|
||||
|
||||
extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_IN";
|
||||
LC_IDENTIFICATION = "en_IN";
|
||||
LC_MEASUREMENT = "en_IN";
|
||||
LC_MONETARY = "en_IN";
|
||||
LC_NAME = "en_IN";
|
||||
LC_NUMERIC = "en_IN";
|
||||
LC_PAPER = "en_IN";
|
||||
LC_TELEPHONE = "en_IN";
|
||||
LC_TIME = "en_IN";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue