!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

340 Members
https://github.com/nix-community/NixOS-WSL58 Servers

Load older messages


SenderMessageTime
29 Mar 2025
@k900:0upti.meK900 You can't 04:26:00
@k900:0upti.meK900 You d 04:26:03
@k900:0upti.meK900* You do04:26:04
@amihsekai:matrix.orgthou-vow
In reply to @k900:0upti.me
You do
Sometimes I'm not on my personal devices, but want to bring my environment there without much effort
05:36:12
@k900:0upti.meK900And you have NixOS on those devices, with root access? 05:36:43
@k900:0upti.meK900Then they're effectively personal devices 05:36:52
@amihsekai:matrix.orgthou-vowNo root access, but they have WSL05:37:20
@amihsekai:matrix.orgthou-vow* No privileges, but they have WSL05:37:50
@k900:0upti.meK900So you do have root access to WSL05:37:56
@k900:0upti.meK900In which case you can have a generic "WSL" configuration I guess 05:38:08
@amihsekai:matrix.orgthou-vowI was able to install NixOS WSL there05:39:04
@amihsekai:matrix.orgthou-vowBut maybe I don't need that05:39:27
@amihsekai:matrix.orgthou-vowI've been thinking, home-manager and nix-shell can do everything I need05:41:18
@amihsekai:matrix.orgthou-vowThanks for your advices05:42:15
@andrewca:matrix.orgAndrew CarterThanks - as I looked into it, I realized that was the issue. I can cross-compile a build myself from an Intel WSL Nix right?19:17:11
@k900:0upti.meK900Uhhh 19:19:01
@k900:0upti.meK900Maaaaaybe? 19:19:04
@k900:0upti.meK900I don't know if anyone actually tried 19:19:10
@k900:0upti.meK900I think you'll have a better chance getting Nix on another aarch64 distro 19:19:26
@k900:0upti.meK900Then using that to build the tarball19:19:31
@andrewca:matrix.orgAndrew CarterI'll try setting up a Linux guest on hyper-v on this machine and see if I can build there.19:23:05
@k900:0upti.meK900You should be able to just grab an Ubuntu WSL image 19:23:24
@k900:0upti.meK900Or whatever they officially offer for aarch64 19:23:31
1 Apr 2025
@mwoodpatrickmx:matrix.orgmwoodpatrickmxI'm trying to run xterm on NixOs on WSL-2 but I'm getting xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1" does anyone know how to fix01:36:13
@k900:0upti.meK900 You probably need to enable services.xserver so it installs the ancient bitmap fonts 01:40:23
@k900:0upti.meK900Or maybe don't use xterm lol 01:40:30
@mwoodpatrickmx:matrix.orgmwoodpatrickmxAny recommendations on a good modern terminal to use with X and Wayland12:11:30
@k900:0upti.meK900Why are you running a terminal on the WSL side anyway 12:12:23
@k900:0upti.meK900Like why not just run Windows Terminal or whatever 12:12:36
@niklaskorz:korz.devNiklas Korzyeah Windows Terminal is your best bet12:13:36

Show newer messages


Back to Room ListRoom Version: 9