i18n: Move module to services
This commit is contained in:
parent
f85c7db354
commit
e9de019d8d
@ -14,7 +14,6 @@
|
||||
./programs/firefox
|
||||
./programs/gnome
|
||||
./programs/gnome-terminal
|
||||
./programs/i18n # TODO: Move to toplevel
|
||||
./programs/mpv
|
||||
./programs/git
|
||||
./programs/sway
|
||||
@ -28,6 +27,7 @@
|
||||
./services/kanshi
|
||||
./services/key-mapper
|
||||
./services/gamemode
|
||||
./services/i18n
|
||||
|
||||
# User
|
||||
#./users/default.nix
|
||||
|
@ -51,7 +51,10 @@ in {
|
||||
{ command = "${kanshiWrapper}"; always = true; }
|
||||
{ command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; always = true; }
|
||||
{ command = "${swayIdleWrapper}"; always = true; }
|
||||
];
|
||||
] ++ lib.optional config.ptw.system.i18n.enable {
|
||||
command = "${pkgs.fcitx5}/bin/fcitx -d";
|
||||
always = true;
|
||||
};
|
||||
modifier = "${modifier}";
|
||||
gaps = {
|
||||
inner = 5;
|
||||
|
@ -9,7 +9,7 @@ in {
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
i18n.inputMethod = {
|
||||
enabled = "ibus";
|
||||
enabled = "fcitx";
|
||||
ibus.engines = with pkgs.ibus-engines; [ mozc ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user