!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
17 Mar 2025
@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.denzbr (they/it)The 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.denzbr (they/it)Without 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.denzbr (they/it)The 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
@k900:0upti.meK900Generally multiple channels is not something you should care about this early06:23:43
@k900:0upti.meK900(or, really, ever, but that's a different story)06:23:51
@nzbr:nzbr.denzbr (they/it)I really wish there was a good resource I could point you to that really explains the few foundational things that have to click into place to understand nix, but as far as I am aware, that just does not exist... If it helps: Everyone I've watched get into nix was struggling just like you, until it suddenly made sense to them. I'm sure you'll get to that point eventually06:26:54
@k900:0upti.meK900 I think the thing that we are very bad at teaching, and the thing that makes it click for many people, is that Nix is just another programming language 06:28:11
@k900:0upti.meK900Most intuition you have for programming in other languages does actually also apply to Nix06:28:24
@k900:0upti.meK900Even though it looks kinda weird06:28:39

Show newer messages


Back to Room ListRoom Version: 9