about summary refs log tree commit diff
path: root/modules/system
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
parentconsole configuration is moved to a module (diff)
downloadworld-3eb9e699260cfc080e7551ceb8b11b8330633fc3.tar.gz
move locale configuration to a module
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/default.nix2
-rw-r--r--modules/system/locale/default.nix7
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";
+}