fibe fixed my dude
This commit is contained in:
@@ -1,18 +1,35 @@
|
||||
{ config, lib, pkgs, systemName, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
systemName,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
isLaptop = systemName == "laptop";
|
||||
isPc = systemName == "pc";
|
||||
in
|
||||
{
|
||||
# Set console keymap based on systemName
|
||||
console.keyMap = if systemName == "laptop" then "ie" else "us";
|
||||
console.keyMap =
|
||||
if isLaptop
|
||||
then "ie"
|
||||
else "us";
|
||||
|
||||
# Locale settings
|
||||
i18n.defaultLocale =
|
||||
if systemName == "laptop"
|
||||
if isLaptop
|
||||
then "en_IE.UTF-8"
|
||||
else "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = let
|
||||
locale = if systemName == "laptop" then "en_IE.UTF-8" else "en_US.UTF-8";
|
||||
in {
|
||||
i18n.extraLocaleSettings =
|
||||
let
|
||||
locale =
|
||||
if isLaptop
|
||||
then "en_IE.UTF-8"
|
||||
else "en_US.UTF-8";
|
||||
in {
|
||||
LC_ADDRESS = locale;
|
||||
LC_IDENTIFICATION = locale;
|
||||
LC_MEASUREMENT = locale;
|
||||
|
||||
Reference in New Issue
Block a user