mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
refactor: cleaned up nixos dir
This commit is contained in:
parent
89814be57c
commit
2000adb56a
77 changed files with 422 additions and 464 deletions
30
nixos/modules/core/locale/default.nix
Executable file
30
nixos/modules/core/locale/default.nix
Executable file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
time.timeZone = "America/Winnipeg";
|
||||
|
||||
i18n =
|
||||
let
|
||||
locale = "en_CA.UTF-8";
|
||||
in
|
||||
{
|
||||
defaultLocale = locale;
|
||||
|
||||
extraLocaleSettings = builtins.listToAttrs (
|
||||
map
|
||||
(option: {
|
||||
name = option;
|
||||
value = locale;
|
||||
})
|
||||
[
|
||||
"LC_ADDRESS"
|
||||
"LC_IDENTIFICATION"
|
||||
"LC_MEASUREMENT"
|
||||
"LC_MONETARY"
|
||||
"LC_NAME"
|
||||
"LC_NUMERIC"
|
||||
"LC_PAPER"
|
||||
"LC_TELEPHONE"
|
||||
"LC_TIME"
|
||||
]
|
||||
);
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue