mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
i18n: use i18n.inputMethod.{enable,type}
This commit is contained in:
parent
1d5bfa01dd
commit
22dbd0089f
3 changed files with 9 additions and 4 deletions
|
|
@ -44,7 +44,10 @@
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
xresources.properties."Xft.dpi" = 92;
|
xresources.properties."Xft.dpi" = 92;
|
||||||
i18n.inputMethod.enabled = "fcitx5";
|
i18n.inputMethod = {
|
||||||
|
enable = true;
|
||||||
|
type = "fcitx5";
|
||||||
|
};
|
||||||
|
|
||||||
# Disable the blueman pop up persistently
|
# Disable the blueman pop up persistently
|
||||||
# https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426
|
# https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@
|
||||||
pkgs.last-resort
|
pkgs.last-resort
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".xscreensaver".source = "${./xscreensaver/.xscreensaver}";
|
".xscreensaver".source = "${./xscreensaver/.xscreensaver}";
|
||||||
};
|
};
|
||||||
|
|
@ -47,7 +46,10 @@
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
xresources.properties."Xft.dpi" = 150;
|
xresources.properties."Xft.dpi" = 150;
|
||||||
i18n.inputMethod.enabled = "fcitx5";
|
i18n.inputMethod = {
|
||||||
|
enable = true;
|
||||||
|
type = "fcitx5";
|
||||||
|
};
|
||||||
|
|
||||||
# Disable the blueman pop up persistently
|
# Disable the blueman pop up persistently
|
||||||
# https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426
|
# https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile = lib.mkIf (config.i18n.inputMethod.enabled != null) {
|
xdg.configFile = lib.mkIf config.i18n.inputMethod.enable {
|
||||||
"fcitx5".source = "${./fcitx}";
|
"fcitx5".source = "${./fcitx}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue