cum puter the second cumming

This commit is contained in:
zastian@mrthoddata.com
2025-10-22 20:51:39 +01:00
parent e55659e082
commit c48cce4a4a
5 changed files with 226 additions and 166 deletions

View File

@@ -1,27 +1,11 @@
{
config,
lib,
pkgs,
systemName,
...
}:
{ config, lib, pkgs, systemName, ... }:
{
console.keyMap = "ie";
i18n = lib.mkMerge [
(lib.mkIf (systemName == "laptop") {
defaultLocale = "en_IE.UTF-8";
inputMethod = {
enable = true;
type = "fcitx5";
fcitx5 = {
waylandFrontend = true;
addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
};
extraLocaleSettings = {
LC_ADDRESS = "en_IE.UTF-8";
LC_IDENTIFICATION = "en_IE.UTF-8";
@@ -34,16 +18,20 @@
LC_TIME = "en_IE.UTF-8";
};
})
(lib.mkIf (systemName == "pc") {
inputMethod = {
enable = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
defaultLocale = "en_US.UTF-8";
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";
};
})
];
}