refactor(locale): tidy up
This commit is contained in:
parent
8fa0d1b871
commit
d7671de87a
1 changed files with 5 additions and 4 deletions
|
|
@ -2,17 +2,18 @@
|
|||
|
||||
let
|
||||
cfg = config.systemModules.locale;
|
||||
inherit (lib) mkIf mkDefault;
|
||||
in
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = mkIf cfg.enable {
|
||||
i18n = {
|
||||
defaultLocale = lib.mkDefault "en_US.UTF-8";
|
||||
supportedLocales = lib.mkDefault [
|
||||
defaultLocale = mkDefault "en_US.UTF-8";
|
||||
supportedLocales = mkDefault [
|
||||
"en_US.UTF-8/UTF-8"
|
||||
];
|
||||
};
|
||||
time.timeZone = lib.mkDefault "Pacific/Auckland";
|
||||
time.timeZone = mkDefault "Pacific/Auckland";
|
||||
location.provider = "geoclue2";
|
||||
services.geoclue2.enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue