mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 15:45:39 +00:00
feat: add kime
This commit is contained in:
parent
7247e5311f
commit
27fcf8aa4a
2 changed files with 32 additions and 21 deletions
|
@ -10,7 +10,8 @@
|
||||||
package = pkgs.hyprland;
|
package = pkgs.hyprland;
|
||||||
systemd.enable = false;
|
systemd.enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
exec-once = [ "uwsm app -- firefox" ];
|
exec-once = [ "uwsm app -- firefox" "kime" ];
|
||||||
|
|
||||||
"$terminal" = "uwsm app -- kitty";
|
"$terminal" = "uwsm app -- kitty";
|
||||||
"$fileManager" = "uwsm app -- kitty yazi";
|
"$fileManager" = "uwsm app -- kitty yazi";
|
||||||
"$menu" = "uwsm app -- $(tofi-drun)";
|
"$menu" = "uwsm app -- $(tofi-drun)";
|
||||||
|
@ -21,8 +22,10 @@
|
||||||
"HYPRCURSOR_SIZE,24"
|
"HYPRCURSOR_SIZE,24"
|
||||||
"LIBVA_DRIVER_NAME,nvidia"
|
"LIBVA_DRIVER_NAME,nvidia"
|
||||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||||
"INPUT_METHOD,fcitx"
|
|
||||||
"QT_QPA_PLATFORM,wayland"
|
"QT_QPA_PLATFORM,wayland"
|
||||||
|
"GTK_IM_MODULE,kime"
|
||||||
|
"QT_IM_MODULE,kime"
|
||||||
|
"XMODIFIERS,@im=kime"
|
||||||
];
|
];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
|
@ -160,6 +163,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
|
kb_layout = "us,kr";
|
||||||
|
kb_options = "grp:alt_shift_toggle";
|
||||||
sensitivity = -0.6;
|
sensitivity = -0.6;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,12 @@
|
||||||
|
|
||||||
networking.hostName = "nixos";
|
networking.hostName = "nixos";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
time.timeZone = "Asia/Seoul";
|
time.timeZone = "Asia/Seoul";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n = {
|
||||||
i18n.extraLocaleSettings = {
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
extraLocaleSettings = {
|
||||||
LC_ADDRESS = "ko_KR.UTF-8";
|
LC_ADDRESS = "ko_KR.UTF-8";
|
||||||
LC_IDENTIFICATION = "ko_KR.UTF-8";
|
LC_IDENTIFICATION = "ko_KR.UTF-8";
|
||||||
LC_MEASUREMENT = "ko_KR.UTF-8";
|
LC_MEASUREMENT = "ko_KR.UTF-8";
|
||||||
|
@ -25,6 +27,11 @@
|
||||||
LC_TELEPHONE = "ko_KR.UTF-8";
|
LC_TELEPHONE = "ko_KR.UTF-8";
|
||||||
LC_TIME = "ko_KR.UTF-8";
|
LC_TIME = "ko_KR.UTF-8";
|
||||||
};
|
};
|
||||||
|
inputMethod = {
|
||||||
|
enable = true;
|
||||||
|
type = "kime";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
users.users.toast = {
|
users.users.toast = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -46,11 +53,10 @@
|
||||||
withUWSM = true;
|
withUWSM = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
};
|
};
|
||||||
services.xserver.xkb = {
|
services.xserver = {
|
||||||
layout = "us";
|
xkb.layout = "us";
|
||||||
variant = "";
|
videoDrivers = [ "nvidia" ];
|
||||||
};
|
};
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
# WLR_NO_HARDWARE_CURSORS = "1";
|
# WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue