diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-05 17:56:35 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-05 17:56:35 -0700 |
commit | 3eb9e699260cfc080e7551ceb8b11b8330633fc3 (patch) | |
tree | aa4ede31e8dfe5eddb5e6551c60638d8df2319c9 /modules | |
parent | console configuration is moved to a module (diff) | |
download | world-3eb9e699260cfc080e7551ceb8b11b8330633fc3.tar.gz |
move locale configuration to a module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/default.nix | 2 | ||||
-rw-r--r-- | modules/system/locale/default.nix | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/modules/system/default.nix b/modules/system/default.nix index 1003646..1f832bf 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -1 +1 @@ -{ ... }: { imports = [ ./console ./nix ]; } +{ ... }: { imports = [ ./console ./locale ./nix ]; } diff --git a/modules/system/locale/default.nix b/modules/system/locale/default.nix new file mode 100644 index 0000000..2026764 --- /dev/null +++ b/modules/system/locale/default.nix @@ -0,0 +1,7 @@ +# Language settings +{ ... }: { + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + + time.timeZone = "America/Los_Angeles"; +} |