28 Mar 2025 |
Andrew Carter | I'm trying out NixOS WSL on an Windows 11 Arm machine. I'm getting [nixos@nixos:~]$ sudo nix-channel --update cannot get capabilities for /proc/self/exe: Not supported when I try to do an update. In fact, any sudo does this. I've not seen an error like this before. Is NixOS supported on Arm? | 23:02:51 |
29 Mar 2025 |
K900 | NixOS is supported, but I don't think we build nixos-wsl tarballs for it? | 04:25:36 |
K900 | But it should fundamentally be possible | 04:25:40 |
K900 | Just that no one has the hardware to test it and keep it working | 04:25:50 |
K900 | You can't | 04:26:00 |
K900 | You d | 04:26:03 |
K900 | * You do | 04:26:04 |
thou-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 | And you have NixOS on those devices, with root access? | 05:36:43 |
K900 | Then they're effectively personal devices | 05:36:52 |
thou-vow | No root access, but they have WSL | 05:37:20 |
thou-vow | * No privileges, but they have WSL | 05:37:50 |
K900 | So you do have root access to WSL | 05:37:56 |
K900 | In which case you can have a generic "WSL" configuration I guess | 05:38:08 |
thou-vow | I was able to install NixOS WSL there | 05:39:04 |
thou-vow | But maybe I don't need that | 05:39:27 |
thou-vow | I've been thinking, home-manager and nix-shell can do everything I need | 05:41:18 |
thou-vow | Thanks for your advices | 05:42:15 |
Andrew Carter | Thanks - 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 | Uhhh | 19:19:01 |
K900 | Maaaaaybe? | 19:19:04 |
K900 | I don't know if anyone actually tried | 19:19:10 |
K900 | I think you'll have a better chance getting Nix on another aarch64 distro | 19:19:26 |
K900 | Then using that to build the tarball | 19:19:31 |
Andrew Carter | I'll try setting up a Linux guest on hyper-v on this machine and see if I can build there. | 19:23:05 |
K900 | You should be able to just grab an Ubuntu WSL image | 19:23:24 |
K900 | Or whatever they officially offer for aarch64 | 19:23:31 |
1 Apr 2025 |
mwoodpatrickmx | I'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 fix | 01:36:13 |
K900 | You probably need to enable services.xserver so it installs the ancient bitmap fonts | 01:40:23 |
K900 | Or maybe don't use xterm lol | 01:40:30 |