!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
17 Mar 2025
@k900:0upti.meK900It's mostly already there really?05:27:10
@k900:0upti.meK900WSL is just a VM with extra steps05:27:14
@k900:0upti.meK900It can run a perfectly vanilla NixOS05:27:22
@balanced_design:matrix.orgbalanced_designIsnt the nicOS version behind?05:28:33
@balanced_design:matrix.orgbalanced_design* Isnt the nixOS version behind?05:28:40
@balanced_design:matrix.orgbalanced_designAnother way to ask is can nixOS on WSL ever have the same behavior and packages available to it that an up-to-date unstable channel nixOS on a VPS or server box has?05:29:28
@k900:0upti.meK900It's ot05:29:39
@k900:0upti.meK900* It's not05:29:40
@k900:0upti.meK900We support 24.11, which is latest stable05:29:51
@k900:0upti.meK900And unstable, which is really rolling05:29:58
@k900:0upti.meK900Doesn't really get newer than that05:30:06
@balanced_design:matrix.orgbalanced_designWell thats good to hear.05:30:59
@k900:0upti.meK900Most of the issues we've got are really specific to the WSL glue05:31:25
@k900:0upti.meK900Like the way they set up graphics drivers doesn't work great with NixOS and that's not really something we can do much about05:31:41
@balanced_design:matrix.orgbalanced_designIs there something you recomend for prerequisite knowledge? I get errors when I try to follow almost any docs, form answer, or blog tutorial. So I try to research each aspect of the terms they use and code tokens they use... and I just struggle so much to find any info. I just dont know how to actually progress with nixOS smoothly... Its molasses compared to anything else.05:44:41
@k900:0upti.meK900The state of the docs is ... generally not great05:46:19
@k900:0upti.meK900That's not really a WSL issue05:46:22
@k900:0upti.meK900 If you have specific questions, feel free to ask here or in #Nix / NixOS 05:46:34
@nzbr:nzbr.deArson CopperflameThe docs for most NisOS things do unfortunately leave a lot to be desired05:46:43
@balanced_design:matrix.orgbalanced_designIs this really supposed to be what I do? Ask detailed questions each step of the way?05:57:54
@k900:0upti.meK900I mean05:58:12
@k900:0upti.meK900"Supposed to"? Probably not05:58:16
@k900:0upti.meK900But the docs aren't great05:58:23
@k900:0upti.meK900And that's not something you can really fix in a day05:58:35
@k900:0upti.meK900And by asking questions you'll hopefully learn how to find answers yourself05:58:47
@nzbr:nzbr.deArson CopperflameWithout knowing where you're stuck right now, some general advice I can give you: Once you get the hang of the syntax and nix itself, you can get by with https://search.nixos.org pretty well for most things. Other than that, try to read and understand code others wrote that does something similar to what you need (don't just copy/paste that blindly, try playing around with it a bit)06:01:27
@nzbr:nzbr.deArson CopperflameThe search also links to the file where the option you're looking at is defined. That can help you understand what happpens in the background06:02:33
@balanced_design:matrix.orgbalanced_designRedacted or Malformed Event06:20:49
@balanced_design:matrix.orgbalanced_design"once you get the hang of the syntax and nix itself" I wish it was this easy as these few words. Ive spent hours on the most basic and fundamental looking things. From getting the thing installed without errors, to getting the thing to have internet, to rebuild switching with a configuration.nix I can view in my IDE, to how to install packages from different channels or even searching different channels like unstable-small.06:23:19
@balanced_design:matrix.orgbalanced_designThanks for the reassurence K900... it means alot06:23:24

Show newer messages


Back to Room ListRoom Version: 9