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