i18n: Move module to services

This commit is contained in:
PapaTutuWawa committed 2021-11-04 18:10:19 +01:00
1 parent f85c7db354
commit e9de019d8d
3 files changed
+6 -3

No files matched your search

+1 -1
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
+4 -1
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;
@@ -9,7 +9,7 @@ in {
config = lib.mkIf cfg.enable {
i18n.inputMethod = {
enabled = "ibus";
enabled = "fcitx";
ibus.engines = with pkgs.ibus-engines; [ mozc ];
};