From c2465c6b9c04e4be06963ef7b9123e20e7ec28d0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 10 Apr 2024 17:26:41 -0400 Subject: [PATCH] central locale setting --- {users/richie/systems => base}/locale.nix | 0 systems/configuration.nix | 9 ++++----- systems/jeeves-jr/configuration.nix | 2 +- systems/jeeves/configuration.nix | 2 +- systems/palatine-hill/configuration.nix | 2 +- users/richie/systems/rhapsody-in-green/configuration.nix | 2 +- 6 files changed, 8 insertions(+), 9 deletions(-) rename {users/richie/systems => base}/locale.nix (100%) diff --git a/users/richie/systems/locale.nix b/base/locale.nix similarity index 100% rename from users/richie/systems/locale.nix rename to base/locale.nix diff --git a/systems/configuration.nix b/systems/configuration.nix index dac0455..d1655f2 100644 --- a/systems/configuration.nix +++ b/systems/configuration.nix @@ -4,13 +4,12 @@ config, ... }: -{ +{ + imports = [ + ../base/locale.nix + ]; security.auditd.enable = true; nixpkgs.config.allowUnfree = true; - i18n = { - defaultLocale = "en_US.utf8"; - supportedLocales = [ "en_US.UTF-8/UTF-8" ]; - }; boot = { default = true; diff --git a/systems/jeeves-jr/configuration.nix b/systems/jeeves-jr/configuration.nix index 7116d82..e113a49 100644 --- a/systems/jeeves-jr/configuration.nix +++ b/systems/jeeves-jr/configuration.nix @@ -1,6 +1,6 @@ { pkgs, ... }: { - time.timeZone = "America/New_York"; + console.keyMap = "us"; networking = { hostId = "1beb3026"; diff --git a/systems/jeeves/configuration.nix b/systems/jeeves/configuration.nix index 5dba4c1..c61e13e 100644 --- a/systems/jeeves/configuration.nix +++ b/systems/jeeves/configuration.nix @@ -1,6 +1,6 @@ { pkgs, lib, ... }: { - time.timeZone = "America/New_York"; + console.keyMap = "us"; networking = { hostId = "1beb3027"; diff --git a/systems/palatine-hill/configuration.nix b/systems/palatine-hill/configuration.nix index 2492369..a3cce5c 100644 --- a/systems/palatine-hill/configuration.nix +++ b/systems/palatine-hill/configuration.nix @@ -1,6 +1,6 @@ { config, pkgs, ... }: { - time.timeZone = "America/New_York"; + console.keyMap = "us"; systemd.services.hydra-notify.serviceConfig.EnvironmentFile = config.sops.secrets."hydra/environment".path; diff --git a/users/richie/systems/rhapsody-in-green/configuration.nix b/users/richie/systems/rhapsody-in-green/configuration.nix index 6676f14..a843da2 100644 --- a/users/richie/systems/rhapsody-in-green/configuration.nix +++ b/users/richie/systems/rhapsody-in-green/configuration.nix @@ -3,7 +3,7 @@ { imports = [ ../programs.nix - ../locale.nix + ../../../../base/locale.nix ./hardware.nix ]; nixpkgs.config.allowUnfree = true;