!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

325 Members
https://github.com/nix-community/NixOS-WSL55 Servers

Load older messages


SenderMessageTime
24 Aug 2025
@ptramo:matrix.orgPierre Carrier joined the room.17:24:53
@ptramo:matrix.orgPierre Carrierahoy! is arm64 supported?17:25:22
@ptramo:matrix.orgPierre CarrierI figure nixos on wsl on arm64 is getting to be as niche as it gets, so wondering if it's even built/tested/used at all17:26:35
@ptramo:matrix.orgPierre CarrierRedacted or Malformed Event17:27:58
@k900:0upti.meK900Supported? Not really17:30:07
@k900:0upti.meK900 But I don't think there's any reason it can't work 17:30:12
@k900:0upti.meK900Fundamentally17:30:13
@k900:0upti.meK900You just might have to do something weird to bootstrap17:30:20
@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

Show newer messages


Back to Room ListRoom Version: 9