nixos/fcitx5: remove systemd service via XDG autostart files

main
oxalica 3 years ago
parent 45ba086ea5
commit 3855e83c49
  1. 14
      nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
  2. 6
      nixos/doc/manual/release-notes/rl-2205.section.md
  3. 6
      nixos/modules/i18n/input-method/fcitx5.nix

@ -1807,6 +1807,20 @@
like the <literal>dex</literal> package.
</para>
</listitem>
<listitem>
<para>
When setting
<link linkend="opt-i18n.inputMethod.enabled">i18n.inputMethod.enabled</link>
to <literal>fcitx5</literal>, it no longer creates
coresponding systemd user services. It now relies on XDG
autostart files to start and work properly in your desktop
seesions. If your are using only a window manager without a
desktop manager, you need to enable
<literal>services.xserver.desktopManager.runXdgAutostartIfNone</literal>
or using the <literal>dex</literal> package to make
<literal>fcitx5</literal> work.
</para>
</listitem>
<listitem>
<para>
A new module was added for the Envoy reverse proxy, providing

@ -661,6 +661,12 @@ In addition to numerous new and upgraded packages, this release has the followin
was added in order to automatically run XDG autostart files for sessions without a desktop manager.
This replaces helpers like the `dex` package.
- When setting [i18n.inputMethod.enabled](#opt-i18n.inputMethod.enabled) to `fcitx5`,
it no longer creates coresponding systemd user services.
It now relies on XDG autostart files to start and work properly in your desktop seesions.
If your are using only a window manager without a desktop manager, you need to enable
`services.xserver.desktopManager.runXdgAutostartIfNone` or using the `dex` package to make `fcitx5` work.
- A new module was added for the Envoy reverse proxy, providing the options `services.envoy.enable` and `services.envoy.settings`.
- The option `services.duplicati.dataDir` has been added to allow changing the location of duplicati's files.

@ -28,11 +28,5 @@ in {
QT_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx";
};
systemd.user.services.fcitx5-daemon = {
enable = true;
script = "${fcitx5Package}/bin/fcitx5";
wantedBy = [ "graphical-session.target" ];
};
};
}

Loading…
Cancel
Save