this post was submitted on 02 Dec 2024
18 points (100.0% liked)

Nix / NixOS

1796 readers
24 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

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!

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 day ago (1 children)

What's an advent of code? Interested if it will help me learn more!

[–] [email protected] 5 points 1 day ago

https://adventofcode.com/

An advent calendar of coding puzzles. Dec 1-25 you get a new puzzle every day

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

I definitely am: https://git.sr.ht/~kintrix/aoc2024

(The README is wrong, just copied it over from last year)

[–] [email protected] 2 points 1 day ago

Love the structure of your code. Exposing a part1 and part2 result from the same source file is a great idea