created us_ny.nix

This commit is contained in:
Your Name 2024-04-06 19:32:43 -04:00 committed by Richie Cahill
parent 2cddd35c23
commit 2d3fe4be6e
2 changed files with 16 additions and 16 deletions

View File

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../programs.nix ../programs.nix
../us_ny.nix
./hardware.nix ./hardware.nix
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -16,22 +17,6 @@
networkmanager.enable = true; 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; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
sound.enable = true; sound.enable = true;

View File

@ -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" ];
};
}