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/system | |
parent | console configuration is moved to a module (diff) | |
download | world-3eb9e699260cfc080e7551ceb8b11b8330633fc3.tar.gz |
move locale configuration to a module
Diffstat (limited to '')
-rw-r--r-- | modules/system/default.nix | 2 | ||||
-rw-r--r-- | modules/system/locale/default.nix (renamed from hosts/common/system/locale.nix) | 9 |
2 files changed, 3 insertions, 8 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/hosts/common/system/locale.nix b/modules/system/locale/default.nix index 53174e3..2026764 100644 --- a/hosts/common/system/locale.nix +++ b/modules/system/locale/default.nix @@ -1,12 +1,7 @@ -{ config, ... }: - -{ +# Language settings +{ ... }: { # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; time.timeZone = "America/Los_Angeles"; - - location.latitude = 37.8715; - location.longitude = -122.2730; - location.provider = "manual"; } |