i18n: Move module to services

This commit is contained in:
PapaTutuWawa 2021-11-04 17:42:12 +01:00
parent f85c7db354
commit e9de019d8d
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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;

View File

@ -9,7 +9,7 @@ in {
config = lib.mkIf cfg.enable {
i18n.inputMethod = {
enabled = "ibus";
enabled = "fcitx";
ibus.engines = with pkgs.ibus-engines; [ mozc ];
};