Remix.run Logo
IshKebab 5 hours ago

This must be a different "just" from the just I'm used to!

Weeks sounds way more accurate than 1-2 hours.

anuramat 8 minutes ago | parent | next [-]

this looks like weeks to you?

  { pkgs, ...}: {
    home.packages = with pkgs; [ neovim lazygit ];
  }
loveparade 4 hours ago | parent | prev [-]

Now with LLMs it's even easier. Writing nix code is hard, but reading it is straightforward because it's declarative, so you can easily review what an LLM produces. And it's not much code either, a simple home manager setup is maybe 100 lines total.

1. Install nix / determinate nix

2. Tell your favorite llm to set up https://github.com/nix-darwin/nix-darwin with home manager if you are on mac, or just home manager if you are on linux

3. Review the code and ask for clarifications

You'll have a set up in 20 minutes.

IshKebab 4 hours ago | parent [-]

Ah yeah I wouldn't count that as being a small learning curve because you haven't actually learnt anything.

Valid approach though I guess.

loveparade 30 minutes ago | parent [-]

I'd disagree. You're not learning anything if you close your eyes and tell your LLM "set up home manager" - but you'll learn a lot if you read the code it produces, ask clarifying questions, and actually try to understand what is happening. It's just a tool that helps you avoid doing tons of research manually by searching google, and helps you avoid dealing with ugly nix syntax.