this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: replace ibus with fcitx

fcitx seems to work better on Wayland.

+50 -17
+50 -17
configuration.nix
··· 35 35 i18n = { 36 36 defaultLocale = "en_US.UTF-8"; 37 37 inputMethod = { 38 - type = "ibus"; 39 - ibus.engines = with pkgs.ibus-engines; [ 40 - bamboo 41 - ]; 38 + enable = true; 39 + type = "fcitx5"; 40 + fcitx5 = { 41 + waylandFrontend = true; 42 + addons = with pkgs; [ 43 + fcitx5-bamboo 44 + ]; 45 + settings = { 46 + inputMethod = { 47 + "Groups/0" = { 48 + "Name" = "Default"; 49 + "Default Layout" = "us"; 50 + "DefaultIM" = "keyboard-us"; 51 + }; 52 + "Groups/0/Items/0" = { 53 + "Name" = "keyboard-us"; 54 + }; 55 + "Groups/0/Items/1" = { 56 + "Name" = "bamboo"; 57 + }; 58 + }; 59 + globalOptions = { 60 + "Hotkey/EnumerateForwardKeys" = { 61 + "0" = "Control+Shift+space"; 62 + }; 63 + }; 64 + addons = { 65 + bamboo = { 66 + globalSection = { 67 + InputMethod = "Telex 2"; 68 + }; 69 + }; 70 + }; 71 + }; 72 + }; 42 73 }; 43 74 }; 44 75 ··· 58 89 }; 59 90 60 91 # List packages installed in system profile. 61 - environment.systemPackages = with pkgs; [ 62 - curl 63 - file 64 - gcc 65 - git 66 - gnumake 67 - neovim 68 - python3 69 - tmux 70 - tree 71 - unzip 72 - watch 73 - ]; 92 + environment = { 93 + systemPackages = with pkgs; [ 94 + curl 95 + file 96 + gcc 97 + git 98 + gnumake 99 + neovim 100 + python3 101 + tmux 102 + tree 103 + unzip 104 + watch 105 + ]; 106 + }; 74 107 75 108 programs = { 76 109 zsh = {