about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-11 22:05:19 +0900
committersefidel <contact@sefidel.net>2024-05-11 22:05:19 +0900
commite7fdb40141db8b0cdacf9b888bd96389f6001250 (patch)
treeaa4b2e09e11924da2a3502b27d77afa6d6a3ba09
parent587bbee8a08206f7b1457ea31c0b7b179b060158 (diff)
downloadnixrc-e7fdb40141db8b0cdacf9b888bd96389f6001250.tar.gz
nixrc-e7fdb40141db8b0cdacf9b888bd96389f6001250.zip
fix(home/gui): restart fcitx5 on failure
-rw-r--r--home/profiles/gui/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index b7a23a1..2238585 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -147,6 +147,10 @@ in
       fcitx5-mozc
       fcitx5-hangul
     ];
+    systemd.user.services.fcitx5-daemon.Service = {
+      # HACK: fcitx5 crashes with "Wayland connection got error: 109"
+      Restart = "on-failure";
+    };
 
     programs = {
       foot = {