diff --git a/modules/nvim.nix b/modules/nvim.nix index 59de8b0..8a0c4e9 100644 --- a/modules/nvim.nix +++ b/modules/nvim.nix @@ -121,6 +121,17 @@ }; settings = { defaults = { + vimgrep_arguments = [ + "rg" + "--color=never" + "--no-heading" + "--with-filename" + "--line-number" + "--column" + "--smart-case" + "--hidden" + "--no-ignore" + ]; file_ignore_patterns = [ "^.git/" "^node_modules/" @@ -133,6 +144,12 @@ }; }; }; + pickers = { + find_files = { + hidden = true; + no_ignore = true; + }; + }; }; }; }; diff --git a/modules/syncthing.nix b/modules/syncthing.nix index 4436fa8..d3d878a 100644 --- a/modules/syncthing.nix +++ b/modules/syncthing.nix @@ -7,23 +7,4 @@ # Don't enable tray on macOS as it requires additional setup tray.enable = false; }; - - # Copy existing Syncthing configuration to preserve device ID and settings - home.activation.syncthingConfig = lib.hm.dag.entryAfter ["writeBoundary"] '' - # Create syncthing config directory if it doesn't exist - mkdir -p "$HOME/.config/syncthing" - - # Copy configuration from macOS location if not already present - if [ ! -e "$HOME/.config/syncthing/config.xml" ]; then - echo "Migrating Syncthing configuration from macOS location..." - if [ -d "$HOME/Library/Application Support/Syncthing" ]; then - cp -r "$HOME/Library/Application Support/Syncthing/"* "$HOME/.config/syncthing/" - echo "Syncthing configuration migrated successfully!" - else - echo "Warning: No existing Syncthing configuration found to migrate" - fi - else - echo "Syncthing configuration already exists at ~/.config/syncthing" - fi - ''; } \ No newline at end of file