about summary refs log tree commit diff
path: root/modules/system/locale
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-05 17:56:35 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-05 17:56:35 -0700
commit3eb9e699260cfc080e7551ceb8b11b8330633fc3 (patch)
treeaa4ede31e8dfe5eddb5e6551c60638d8df2319c9 /modules/system/locale
parentconsole configuration is moved to a module (diff)
downloadworld-3eb9e699260cfc080e7551ceb8b11b8330633fc3.tar.gz
move locale configuration to a module
Diffstat (limited to 'modules/system/locale')
-rw-r--r--modules/system/locale/default.nix7
1 files changed, 7 insertions, 0 deletions
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";
+}