Skip to content

Commit

Permalink
Sync fcitx5 config directory rather than each file (#794)
Browse files Browse the repository at this point in the history
* Sync fcitx5 config directory in home-maneger instead of each file

* Remove needless quote

* Set recursive = true

* Revert "Set recursive = true"

This reverts commit 6990632.
  • Loading branch information
kachick committed Sep 18, 2024
1 parent ebb9eaf commit f7b7a9e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions home-manager/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,9 @@

home.file.".hushlogin".text = "This file disables daily login message. Not depend on this text.";

xdg.configFile."fcitx5/config" = {
source = ../config/fcitx5/config;
};
xdg.configFile."fcitx5/profile" = {
source = ../config/fcitx5/profile;
# Should sync with the directory instead of each file. See https://github.com/nix-community/home-manager/issues/3090#issuecomment-1799268943
xdg.configFile.fcitx5 = {
source = ../config/fcitx5;
};

# https://github.com/nix-community/home-manager/blob/release-24.05/modules/programs/starship.nix
Expand Down

0 comments on commit f7b7a9e

Please sign in to comment.