-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Permission denied on nix #11985
Comments
You can create an alias where the helix is writing to However
this doesn't sound right. I'm using helix with home-manager as well but I don't get this problem. May I ask if you could post your relevant NixOS/home-manager config here please? |
That's a good work around already
|
Hm... well that's weird that |
I have two options related to cache but I don't see how it can interfere. The first one being : |
Can you share the relevant parts of your configuration? I'm running Helix on NixOS with home-manager and don't have any issues. |
There's nothing more than what I posted above, so this :
|
I think you don't have to add I don't use |
Stylix shouldn't do anything, especially if disabled. It's pretty hard to remove since there's a lot of packages depending on it. |
Summary
Hello,
My problem is the following : helix need sudo access for any file, even wihout a file.
I'm on nixos and I declare my helix configuration through home-manager which create readonly configuration. On a fresh system there's no problem, but after a while, I can't use helix anymore without sudo.
I think the problem might come from readonly log. If I
sudo chmod a+w ~/.cache/helix/helix.log
, it works well, until nixos rebuild this file itself.I think nixos or home-manager shouldn't touch this file ever to avoid this situation
Reproduction Steps
Helix log
There's nothing on the log, the access to the log is the problem
Platform
Linux
Terminal Emulator
Kitty
Installation Method
home-manager from nix
Helix Version
helix 24.7 (079f544)
The text was updated successfully, but these errors were encountered: