mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 20:20:26 +03:00
nixos/fcitx5: remove systemd service via XDG autostart files
This commit is contained in:
parent
45ba086ea5
commit
3855e83c49
@ -1807,6 +1807,20 @@
|
|||||||
like the <literal>dex</literal> package.
|
like the <literal>dex</literal> package.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</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>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
A new module was added for the Envoy reverse proxy, providing
|
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.
|
was added in order to automatically run XDG autostart files for sessions without a desktop manager.
|
||||||
This replaces helpers like the `dex` package.
|
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`.
|
- 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.
|
- 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";
|
QT_IM_MODULE = "fcitx";
|
||||||
XMODIFIERS = "@im=fcitx";
|
XMODIFIERS = "@im=fcitx";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.fcitx5-daemon = {
|
|
||||||
enable = true;
|
|
||||||
script = "${fcitx5Package}/bin/fcitx5";
|
|
||||||
wantedBy = [ "graphical-session.target" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user