!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

323 Members
https://github.com/nix-community/NixOS-WSL53 Servers

Load older messages


SenderMessageTime
24 Aug 2025
@ptramo:matrix.orgPierre Carrieryes19:37:47
@ptramo:matrix.orgPierre Carrierthat's what I called "the ld trick" sorry19:38:11
@ptramo:matrix.orgPierre Carrierimage.png
Download image.png
19:41:28
@k900:0upti.meK900 There's presumably a bash script to bootstrap the server 19:41:32
@ptramo:matrix.orgPierre Carrierfails like so19:41:36
@k900:0upti.meK900 Which presumably explodes 19:41:36
@ptramo:matrix.orgPierre Carrierindeed19:41:42
@k900:0upti.meK900Normal vscode works, fwiw19:41:53
@ptramo:matrix.orgPierre Carrierwhich is a tad weird because when launching from the CLI a bunch of stuff gets extracted already19:42:17
@ptramo:matrix.orgPierre Carrierwell that's quite unfortunate, sadly I need it for work19:59:39
@ptramo:matrix.orgPierre Carrierfound the workaround here: https://forum.cursor.com/t/install-cursor-in-nix-os-on-wsl-2/81609/220:06:44
25 Aug 2025
@ptramo:matrix.orgPierre CarrierI don't get links to open in a Windows browser when using aws or gcloud, unlike with arch. Any idea what I might be missing?14:43:08
@k900:0upti.meK900 I don't really know what those do but you probably want something like wslview that will proxy to the Windows side 15:43:10
@ptramo:matrix.orgPierre Carriersounds right. is that easy to set up?16:06:41
@ptramo:matrix.orgPierre CarrierI installed wslu but I'm guessing I now need something to point to it?16:09:58
@ptramo:matrix.orgPierre Carrieryeah just set BROWSER. feels not ideal to add another env variable but that'll do for now16:13:13
@s8766054:tu-dresden.deSimon.Sieben@mailbox.tu-dresden.deRedacted or Malformed Event16:13:38
26 Aug 2025
@ptramo:matrix.orgPierre Carrierwow, everyt00:04:37
@ptramo:matrix.orgPierre Carrier* wow, everything kinda just works hu00:04:48
@ptramo:matrix.orgPierre CarrierI know very little of what was required, but kudos00:05:04
@ptramo:matrix.orgPierre Carriersorry, this is off topic, but if I want to ssh into my nixos-wsl from anywhere, is there much I have to do? I use networkingMode mirrored. unfortunately interacting with this particular install is rather time consuming and difficult so I can't tinker fast17:28:12
@k900:0upti.meK900I'd maybe just run something like Tailscale inside the VM17:28:39
@ptramo:matrix.orgPierre Carrierperfect. and to make sure the VM is always running?17:29:13
@k900:0upti.meK900There's a setting in .wslconfig for how long the VM is kept alive for17:29:43
@ptramo:matrix.orgPierre Carrierthanks. that and a startup script to run wsl exit 0 should do it then17:30:14
@ptramo:matrix.orgPierre Carrieryup I'm all set I believe. thanks so much17:35:53
@ptramo:matrix.orgPierre Carrieronce I have a fully running system, can I image it using nix? not a fork of the nixos-wsl repo but everything in my flake: system config, user with home-manager, etc. I'd like to be able to restore my system in one command without exporting with wsl which lives temp files etc. in the backup17:37:39
@ptramo:matrix.orgPierre Carrier* once I have a fully running system, can I image it using nix? not a fork of the nixos-wsl repo but everything in my flake: system config, user with home-manager, etc. I'd like to be able to restore my system in one command without exporting with wsl which leaves temp files etc. in the backup17:37:52
@k900:0upti.meK900What do you mean by "image"?17:38:10
@k900:0upti.meK900Generate a NixOS config from a system that you set up manually? No17:38:18

Show newer messages


Back to Room ListRoom Version: 9