14 May 2024 |
chrillefkrr | Remove lines 23-26 from your configuration.nix, i.e. remove those closing and opening }\n\n{ brackets | 18:18:31 |
balanced_design | Download eCADLy8eDm.jpg | 18:27:22 |
balanced_design | I removed those lines, still got errors. Im sorry. | 18:27:24 |
K900 | What is the error exactly? | 18:28:47 |
K900 | Oh | 18:29:00 |
balanced_design | Download WindowsTerminal_jvOOSmBd1l.jpg | 18:29:18 |
K900 | Replace cfg.package with pkgs.nodejs-18_x | 18:29:29 |
balanced_design | Oh my god, rebuild switch works. Thank you so much for the help.
Sadly vscode on WSL isnt working with it yet. Ill try to search for answers there. Thank you so so much. | 18:35:14 |
K900 | You probably need to restart vscode | 18:35:38 |
K900 | And also possibly remove ~/.vscode-server | 18:35:55 |
K900 | And maybe restart the VM just to be sure | 18:36:09 |
balanced_design | I did the 3rd, before even trying the first time. I tried restarting vscode aswell, also didnt work.
Heres my error in case it helps.
What do you mean by "remove ~/.vscode-server"? Theres isnt a "~" character, so I assume you mean remove some of the characters before it? | 18:41:52 |
balanced_design | Download XBmgiHtfWs.jpg | 18:41:57 |
K900 | I mean remove the directory on disk | 18:43:07 |
K900 | As in /home/nixos/.vscode-server | 18:43:21 |
K900 | But also I'm pretty sure the issue you're seeing is both fixed in newer NixOS-WSL and fixed in newer vscode | 18:43:39 |
K900 | So please update both | 18:43:45 |
balanced_design | Same error after running "nixos-rebuild switch --upgrade", then restarting the VM and vscode again.
The WSL extension and VScode were already updated. | 18:54:40 |
balanced_design | * Same error after running "nixos-rebuild switch --upgrade", then restarting the VM and vscode again.
The WSL extension and VScode were already updated (I checked for new updates and there were none). | 18:55:07 |
K900 | Try nixos-rebuild switch --upgrade-all | 18:55:39 |
balanced_design | That did the trick! (got the error that I dont have wget installed, but I added that to me config and after that it worked!)
Thank you so much for your help. I truely appreciate it. | 19:10:57 |
15 May 2024 |
| evax joined the room. | 21:56:06 |
17 May 2024 |
98765abc | My cursor occasionally loses focus | 05:41:33 |
98765abc | Looks like
https://github.com/microsoft/wslg/issues/655 | 05:42:11 |
98765abc | And I disbale wslg GuiApplications=false | 05:42:46 |
98765abc | Download Image_1715924587217.png | 05:43:46 |
98765abc | Is this a bug? | 05:44:05 |
K900 | That should be fixed on recent WSL and also recent nixos-wsl | 05:45:51 |
Sandro 🐧 | Anyone has an idea why i suddenly have no /mnt/c?
[Fri May 17 10:29:58 2024] WSL (3) ERROR: UtilCreateProcessAndWait:665: /bin/mount failed with 2
[Fri May 17 10:29:58 2024] WSL (2) ERROR: UtilCreateProcessAndWait:687: /bin/mount failed with status 0xff00
Running mount -t drvfs C: /mnt/c -o metadata helps.
Found that in a 4 year old issue https://github.com/microsoft/WSL/issues/5192
| 08:40:00 |
K900 | Missing /bin/mount? | 08:40:25 |