flake restructure

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-07-23 17:35:57 +02:00
parent ad784f41f9
commit 1e0af7a61b
15 changed files with 802 additions and 884 deletions

View File

@@ -1,4 +1,4 @@
{ lib, ... }:
lib:
let
# takes in "ff0044" (no hash!) and returns { r = "ff", g = "00", b = "44" }
slice-hex = hex: with builtins; { r = substring 0 2 hex; g = substring 2 2 hex; b = substring 4 2 hex; };