summaryrefslogtreecommitdiffstats
path: root/nixos/modules/i18n/input-method
AgeCommit message (Collapse)Author
2024-07-14Merge pull request #310708 from importantblimp/180654éclairevoyant
nixos/input-method: deprecate .enabled option; add .type and .enable options
2024-07-12nixos/input-method: deprecate .enabled option; add .type and .enable optionsGY
This commit introduces two new properties: `enable` and `type`, to replace the `enabled` property. `enable` has the same meaning as is common across nixpkgs. `type` has the same meaning as the existing `enabled` property. `enabled` property is now deprecated and will be removed in a future release. Fixes #180654
2024-06-02nixos/ibus: improve error message for non-engine packagesGuillaume Girol
when setting the option i18n.inputMethod.ibus.engines to a non-engine, like this: i18n.inputMethod.ibus.engines = [ pkgs.sl ]; the error message would be quite misleading: error: A definition for option `nodes.machine.i18n.inputMethod.ibus.engines."[definition 1-entry 1]"' is not of type `package'. Definition values: - In `makeTest parameters': <derivation sl-5.05> sl is rejected and yet it *is* a package. This change improves the error message to this: error: A definition for option `nodes.machine.i18n.inputMethod.ibus.engines."[definition 1-entry 1]"' is not of type `ibus-engine'. Definition values: - In `makeTest parameters': <derivation sl-5.05>
2024-04-13nixos: remove all uses of lib.mdDocstuebinm
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2024-03-28treewide: Fix all Nix ASTs in all markdown filesJanne Heß
This allows for correct highlighting and maybe future automatic formatting. The AST was verified to work with nixfmt only.
2024-03-28treewide: Mark Nix blocks in markdown as NixJanne Heß
This should help us with highlighting and future formatting.
2024-03-20nixos/fcitx5: fix warning about plasma6 optionMaciej Krüger
2024-03-01nixos/fcitx5: enable plasma6Support by default if plasma6 is enabledNick Cao
2024-03-01nixos/fcitx5: add plasma6 support optionNick Cao
2024-01-04nixos/fcitx5: allow using the wayland frontend instead of the fcitx5 oneNick Cao
2023-11-26treewide: /lib/libexec -> /libexecK900
/lib/libexec doesn't exist.
2023-09-04uim: remove qt4, fix qt5ajs124
2023-08-15nixos/fcitx5: fix evaluationNick Cao
2023-08-14nixos/fcitx5: add settingslinsui
2023-08-08treewide: stop using types.stringLin Jian
It is an error[1] now. [1]: https://github.com/NixOS/nixpkgs/pull/247848
2023-07-29nixos/fcitx5: add quickPhraselinsui
2023-04-07treewide: use more lib.optionalStringFelix Buehler
2023-04-02{ibus,fcitx5}-rime: Refactor RIME data supportLin Yinfeng
2023-03-13fcitx: remove packages and update documentations and aliases to fcitx5Vonfry
2023-03-13nixos/fcitx: deprecated, and suggestions to use fcitx5 insteadVonfry
2023-01-27nixos/manual: render module chapters with nixos-render-docspennae
this converts meta.doc into an md pointer, not an xml pointer. since we no longer need xml for manual chapters we can also remove support for manual chapters from md-to-db.sh since pandoc converts smart quotes to docbook quote elements and our nixos-render-docs does not we lose this distinction in the rendered output. that's probably not that bad, our stylesheet didn't make use of this anyway (and pre-23.05 versions of the chapters didn't use quote elements either). also updates the nixpkgs manual to clarify that option docs support all extensions (although it doesn't support headings at all, so heading anchors don't work by extension).
2023-01-22kime: 2.5.6 -> 3.0.2Riey
2023-01-10nixos/manual: move "edit the MD file" comments to generated XMLpennae
2023-01-10nixos/manual: generate module chapters with md-to-db.shpennae
2023-01-10nixos/manual: enable smart quotes for all MD chapterspennae
2023-01-10nixos/input-method: convert manual chapter to MDpennae
2023-01-10nixos/manual: remove links from program listingspennae
markdown cannot represent those links. remove them all now instead of in each chapter conversion to keep the diff for each chapter small and more understandable.
2022-08-31nixos/*: convert internal option descriptions to MDpennae
we'll have to do it eventually, may as well be now.
2022-08-31nixos/*: automatically convert option descriptionspennae
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
2022-08-31nixos/*: md-convert options with unordered listspennae
mostly no rendering changes. some lists (like simplelist) don't have an exact translation to markdown, so we use a comma-separated list of literals instead.
2022-07-30treewide: automatically md-convert option descriptionspennae
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-07-24nixos/i18n: invariant option docs MD conversionspennae
2022-06-11Merge pull request #174218 from NickCao/fcitx5-qt6Guillaume Girol
fcitx5-qt: add support for qt6 applications
2022-06-09Merge pull request #176881 from jian-lin/fix-nixos/ibus-gnome-autostartJan Tojnar
nixos/ibus: don't use xdg autostart for Gnome
2022-06-08nixos/ibus: don't use xdg autostart for Gnomelinj
Gnome uses systemd to start ibus.
2022-06-08nixos/ibus: fix services.dbus.packagelinj
2022-05-27nixos/fcitx5: add self to QT_PLUGIN_PATHNick Cao
2022-04-25nixos/fcitx5: add the setting of RIME_DATA_DIR and options for rime-dataVonfry
2022-04-18nixos/fcitx5: remove systemd service via XDG autostart filesoxalica
2022-01-02nixos/documentation: split options doc buildpennae
most modules can be evaluated for their documentation in a very restricted environment that doesn't include all of nixpkgs. this evaluation can then be cached and reused for subsequent builds, merging only documentation that has changed into the cached set. since nixos ships with a large number of modules of which only a few are used in any given config this can save evaluation a huge percentage of nixos options available in any given config. in tests of this caching, despite having to copy most of nixos/, saves about 80% of the time needed to build the system manual, or about two second on the machine used for testing. build time for a full system config shrank from 9.4s to 7.4s, while turning documentation off entirely shortened the build to 7.1s.
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier
2021-06-05nixos/fcitx5: autostart with xserverVonfry
2021-04-19input methods: add kimeRiey
2021-01-24fcitx5: update docPotato Hatsue
2021-01-10plasma5Packages: alias to the libsForQt5 used to build the plasma5 desktopFrederik Rietdijk
For in NixOS it is beneficial if both plasma5 and pam use the same Qt5 version. Because the plasma5 desktop may use a different version as the default Qt5 version, we introduce plasma5Packages.
2021-01-10nixos/input-methods: add fcitx5Poscat
2020-10-17hime: fix enable hime, remove hime-all packageAntonio Yang
- fix inputMethod.enable hime by adding module list - rm hime-all package, because chewing, anthy modules does not work well
2020-10-03input methods: add himeAntonio Yang
2020-08-07nixos/modules: remove trailing whitespaceJörg Thalheim
This leads to ci failure otherwise if the file gets changed. git-blame can ignore whitespace changes.
2020-06-02ibus: fix installation of dconf databaseSymphorien Gibol
Fixes this warning at ibus-daemon startup: (ibus-dconf:15691): dconf-WARNING **: 21:49:24.018: unable to open file '/etc/dconf/db/ibus': Failed to open file ?/etc/dconf/db/ibus?: open() failed: No such file or directory; expect degraded performance