summaryrefslogtreecommitdiff
path: root/modules/common.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-09-23 14:07:05 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-09-23 14:26:34 -0400
commit0c7bf6e5465d6b58dfdbdf00867cac99e40ed968 (patch)
tree15589521fc9234f83d790994412cdcdeb64ee0f9 /modules/common.nix
parentf8b365fcc983b73eadf638ca4e664d5b9e323d4c (diff)
Update
Diffstat (limited to 'modules/common.nix')
-rw-r--r--modules/common.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/common.nix b/modules/common.nix
index aafc1b0..8ae3b06 100644
--- a/modules/common.nix
+++ b/modules/common.nix
@@ -23,6 +23,21 @@
];
environment.variables.EDITOR = "${pkgs.neovim}/bin/nvim";
+ # Select internationalisation properties.
+ 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";
+ };
+
# nix.settings = {
# keep-outputs = true;
# keep-derivations = true;
@@ -125,4 +140,6 @@
boot.tmp.cleanOnBoot = true;
nixpkgs.config.allowUnfree = true;
+ hardware.enableAllFirmware = true;
+ hardware.enableRedistributableFirmware = true;
}