2024: init

This commit is contained in:
2024-12-02 16:19:17 +01:00
parent 9d6e2dfaf2
commit a405bda0fa
8 changed files with 2149 additions and 0 deletions

24
2024/template/default.nix Normal file
View File

@@ -0,0 +1,24 @@
{ pkgs, lib }:
with lib;
let
input = pipe (fileContents ./input.txt) [
(splitString "\n")
];
answer1 = lib.pipe input [
(_: "TODO")
];
answer2 = lib.pipe input [
(_: "TODO")
];
in
pkgs.writeText "answers" ''
Task1:
${answer1}
Task2:
${answer2}
''

0
2024/template/input.nix Normal file
View File