fork/home-manager
git clone https://git.julia.blue/fork/home-manager
7e2b1a42
master
1{ config , pkgs , lib , ...} : 2 3with lib ; { 4config = mkIf ( config . i18n . inputMethod . enabled == "hime" ) { 5i18n . inputMethod . package = pkgs . hime ; 6 7home . sessionVariables = { 8GTK_IM_MODULE = "hime" ; 9QT_IM_MODULE = "hime" ; 10XMODIFIERS = "@im=hime" ; 11}; 12 13systemd . user . services . hime-daemon = { 14Unit = { 15Description = "Hime input method editor" ; 16PartOf = [ "graphical-session.desktop" ]; 17}; 18Service . ExecStart = " ${ pkgs . hime } /bin/hime" ; 19Install . WantedBy = [ "graphical-session.target" ]; 20}; 21}; 22 23}