From 3eb9e699260cfc080e7551ceb8b11b8330633fc3 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 5 Apr 2022 17:56:35 -0700 Subject: move locale configuration to a module --- modules/system/default.nix | 2 +- modules/system/locale/default.nix | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 modules/system/locale/default.nix (limited to 'modules') 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"; +} -- cgit 1.4.1