Recently got started with Nix and Home-Manager. I thought Advent Of Code would be a good way to get more comfortable with the Nix language.

I don’t think I ever made it beyond Day 6 though, even in my most comfortable language (Python) so no idea where this will strand.

I am learning a lot about Nix though!

Have you used the Nix language outside of configuration? Let’s share and discuss!

  • Atemu
    link
    fedilink
    English
    arrow-up
    3
    ·
    16 hours ago

    That looks very lispy, is that intentional?

    • F04118F@feddit.nlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 hours ago

      Yes, Nix is a pure functional programming language, like Lisp.

      The reason for its existence is to allow for reproducible and repeatable builds of packages and configuration. This is the basis for nixpkgs, NixOS and Home Manager.