From 1cf34add856e2cdcd7e1422401ef9afc29987cc6 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 17 Dec 2023 00:09:13 +0800 Subject: [PATCH] fix: fcitx - macOS --- home/darwin/rime-squirrel.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/darwin/rime-squirrel.nix b/home/darwin/rime-squirrel.nix index 24f442c3..9c93af3f 100644 --- a/home/darwin/rime-squirrel.nix +++ b/home/darwin/rime-squirrel.nix @@ -1,11 +1,12 @@ { + config, lib, pkgs, ... }: { # remove existing rime data (squirrel) home.activation.removeExistingRimeData = lib.hm.dag.entryBefore ["checkLinkTargets"] '' - rm -rf "~/Library/Rime/build/flypy.prism.bin" + rm -rf "${config.home.homeDirectory}/Library/Rime/build/flypy.prism.bin" ''; # Squirrel Input Method