diff --git a/home/home.nix b/home/home.nix index 8b7a413..09fcd04 100644 --- a/home/home.nix +++ b/home/home.nix @@ -22,7 +22,10 @@ let activation.zedConfig = lib.hm.dag.entryAfter [ "writeBoundary" ] '' mkdir -p ~/.config - ln -sf ~/.config/dotfiles/secrets/zed ~/.config/zed + if [ ! -L ~/.config/zed ]; then + rm -rf ~/.config/zed + ln -sf ~/.config/dotfiles/secrets/zed ~/.config/zed + fi ''; file = {