From 2d3fe4be6e0db0492cff993909c8f09adec336d8 Mon Sep 17 00:00:00 2001 From: Your Name <you@example.com> Date: Sat, 6 Apr 2024 19:32:43 -0400 Subject: [PATCH] created us_ny.nix --- .../systems/rhapsody-in-green/configuration.nix | 17 +---------------- users/richie/systems/us_ny.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 users/richie/systems/us_ny.nix diff --git a/users/richie/systems/rhapsody-in-green/configuration.nix b/users/richie/systems/rhapsody-in-green/configuration.nix index 64ee498..66fbef0 100644 --- a/users/richie/systems/rhapsody-in-green/configuration.nix +++ b/users/richie/systems/rhapsody-in-green/configuration.nix @@ -3,6 +3,7 @@ { imports = [ ../programs.nix + ../us_ny.nix ./hardware.nix ]; nixpkgs.config.allowUnfree = true; @@ -16,22 +17,6 @@ networkmanager.enable = true; }; - time.timeZone = "America/New_York"; - - i18n.defaultLocale = "en_US.UTF-8"; - - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - hardware.pulseaudio.enable = false; security.rtkit.enable = true; sound.enable = true; diff --git a/users/richie/systems/us_ny.nix b/users/richie/systems/us_ny.nix new file mode 100644 index 0000000..fea9a6c --- /dev/null +++ b/users/richie/systems/us_ny.nix @@ -0,0 +1,15 @@ +{ + config, + lib, + pkgs, + ... +}: +{ + time.timeZone = "America/New_York"; + console.keyMap = "us"; + + i18n = { + defaultLocale = "en_US.utf8"; + supportedLocales = [ "en_US.UTF-8/UTF-8" ]; + }; +}