!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

320 Members
https://github.com/nix-community/NixOS-WSL52 Servers

Load older messages


SenderMessageTime
24 Aug 2025
@k900:0upti.meK900Like I don't think we have anything x86 specific in there17:30:37
@ptramo:matrix.orgPierre CarrierOK cool. but it would have to be another .wsl file right?17:31:24
@k900:0upti.meK900Yes17:31:36
@ptramo:matrix.orgPierre CarrierI'd like to bootstrap, if you have any pointers17:31:42
@k900:0upti.meK900And you'd need an aarch64 builder to build it17:31:43
@k900:0upti.meK900 Well you'll need an aarch64 something running NixOS 17:31:52
@ptramo:matrix.orgPierre Carrieryeah I can run nix in ubuntu in wsl right17:32:00
@k900:0upti.meK900Potentially17:32:08
@ptramo:matrix.orgPierre Carrierah gotta be nixos not just nix?17:32:13
@k900:0upti.meK900I think just Nix should be enough17:32:22
@ptramo:matrix.orgPierre CarrierI was hoping for a one-command build process in the flake setup17:32:42
@ptramo:matrix.orgPierre Carrierhaven't dug yet sorry, I'm without linux at the moment, but I'll get another wsl going17:33:10
@k900:0upti.meK900No one command17:34:21
@k900:0upti.meK900But you basically want to change the system here: https://github.com/nix-community/NixOS-WSL/blob/main/flake.nix#L3917:34:35
@k900:0upti.meK900 And then nix build .#nixosConfigurations.default.config.system.build.tarballBuilder 17:34:48
@k900:0upti.meK900And then run the result of that17:34:59
@k900:0upti.meK900 And that should produce a nixos.wsl you can install 17:35:53
@ptramo:matrix.orgPierre Carrierthat is one command17:41:54
@k900:0upti.meK900At least two, technically17:42:09
@ptramo:matrix.orgPierre Carriercool cool cool, thanks17:42:10
@ptramo:matrix.orgPierre Carrierit's happening. hype17:51:00
@nzbr:nzbr.denzbr (they/it)
In reply to @ptramo:matrix.org
yeah I can run nix in ubuntu in wsl right
The CI images are built on Ubuntu, so that should work fine
17:52:54
@ptramo:matrix.orgPierre Carrieryup it did, all working great17:57:04
@ptramo:matrix.orgPierre Carrierwell no, can't use cursor. the ld trick doesn't work, the install script cannot find any command19:09:16
@k900:0upti.meK900Depends on how the script is implemented19:11:05
@k900:0upti.meK900Can't really help you with that19:11:11
@k900:0upti.meK900And it's probably not aarch64 specific either19:11:19
@ptramo:matrix.orgPierre Carriernope19:11:24
@ptramo:matrix.orgPierre Carrierhttps://github.com/zoid-archive/nixos-cursor-server mentions only partial work on wsl support. tried it anyway, no better19:12:08
@cpt.chaos:abot.xyztweber83Have you tried just using nix-ld to get it running? https://nix-community.github.io/NixOS-WSL/how-to/vscode.html19:36:22

Show newer messages


Back to Room ListRoom Version: 9