-
Notifications
You must be signed in to change notification settings - Fork 14
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
uninstall/ rebuild switch flake does not install extensions consistently #66
Comments
How do you know an extension is not installed? What does Please provide a screenshot of your list of installed extensions. |
on with the following vscode config in home.nix:
|
@AmeerTaweel, could you please have a look? |
I am running into this too, is there anything I can do to help this issue move forward? |
@j4t1nd3r @jensmeindertsma, this repo provides only extension derivations. Please report Home Manager problems in the home-manager repo. |
One (non-optimal) way to fix this is to set The issue is indeed needs to be fixed in home-manager. In case of Edit: I should probably post it to the home-manager issue as well 🤔 |
@j4t1nd3r are you still having this issue? I had something similar happen, it was a result of using profiles. |
@j4t1nd3r, do you still have this issue? |
I had the same issue, and I am not using profiles. |
nix-community/home-manager#5372 (comment) This currently fixes the issue. |
Link to my github repo
Original config (on main branch)
I was initially using in home.nix:
My issue
Running
sudo nixos-rebuild switch --flake nix-fwk-system/#fwk-nixos
runs without error. Sometimes rarely an extension installs.If I uninstall the vscode to test reproducibility, rerun the
sudo nixos rebuild switch flake...
the extension(s) are not reinstalled.rm ~/.vscode/extensions/extensions.json
before rerunning the rebuild switch flake makes no difference.I raised an issue on home-manager github here
I also seeked help from a dedicated NixOS discord. Link to my initial message
The response was to switch to nix-vscode-extensions.
New config on (side branch)
flake.nix
home.nix
Regarding this new config. I struggled with its config and the discord get it working for me. On the first error free run of
sudo nixos rebuild flake...
, it installedbbenoist.nix
extension.Once again to test reproducibility. I uninstalled the extension within vscode then reran
sudo nixos rebuild flake...
the same issue persists.I now suspect that I have a fundamental misunderstanding here or there is an issue with my general config. Suggestions?
The text was updated successfully, but these errors were encountered: