Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't complete Edit Predictions Onborading on NixOS #26116

Open
danielgafni opened this issue Mar 5, 2025 · 0 comments
Open

Can't complete Edit Predictions Onborading on NixOS #26116

danielgafni opened this issue Mar 5, 2025 · 0 comments
Labels
nix Nix configuration support

Comments

@danielgafni
Copy link

danielgafni commented Mar 5, 2025

Summary

I am running NixOS and am trying to enable Edit Predictions in Zed.

I have "show_edit_predictions": true in my Zed config.

However, they do not show up. I suspect this is because I can't complete the on-boarding dialog where the terms of service must be accepted:

2025-03-05T11:55:59.770457298+02:00 [ERROR] Failed to write settings to file "/nix/store/fxg55jr0w81x1iz5yimniygqdgj57zrw-zed-user-settings"

Caused by:
    Read-only file system (os error 30) at path "/nix/store/.tmpZlR4UK"

This is an ongoing issue with Zed on NixOS, it appears in different forms whenever Zed is trying to edit files in the installation directory. Also see: #24537

I suggest alternative files which are guaranteed to be owned by the user (such as $XDG_DATA_HOME) to be used instead.

Zed Version and System Specs

Zed: v0.175.5 (Zed)
OS: Linux Wayland nixos 25.05
Memory: 31.3 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 2080 SUPER || NVIDIA || 570.124.04


P.S. Not sure what exactly is Zed trying to write, is this the show_edit_predictions setting?
I've tried to look into the code but only found a write to the sqlite database.

@P1n3appl3 P1n3appl3 added the nix Nix configuration support label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nix Nix configuration support
Projects
None yet
Development

No branches or pull requests

2 participants