Common: move localisation settings to configuration.nix
This commit is contained in:
parent
e3fe1566a4
commit
d3067f9547
4 changed files with 17 additions and 22 deletions
|
|
@ -17,7 +17,23 @@
|
|||
# Cleaning out /tmp at boot if it's a tmpfs is quite stupid
|
||||
cleanOnBoot = !config.boot.tmp.useTmpfs;
|
||||
};
|
||||
|
||||
|
||||
# Set up localisation
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
extraLocaleSettings = {
|
||||
LC_NUMERIC = "es_ES.UTF-8";
|
||||
# am/pm is nice but mm/dd/yy is yucky
|
||||
LC_TIME = "es_US.UTF-8";
|
||||
LC_MONETARY = "es_ES.UTF-8";
|
||||
LC_MEASUREMENT = "es_ES.UTF-8";
|
||||
LC_PAPER = "es_ES.UTF-8";
|
||||
LC_ADDRESS = "es_US.UTF-8";
|
||||
LC_NAME = "es_ES.UTF-8";
|
||||
LC_TELEPHONE = "es_ES.UTF-8";
|
||||
};
|
||||
};
|
||||
|
||||
# Set up secrets
|
||||
age = {
|
||||
identityPaths = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue