restructure

This commit is contained in:
XenGi 2026-02-22 13:04:59 +01:00
parent 507f3d3c8c
commit 75e9e63e51
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
18 changed files with 292 additions and 197 deletions

9
lib/randomHour.nix Normal file
View file

@ -0,0 +1,9 @@
{ lib }:
hostname:
let
hash = builtins.hashString "sha256" hostname;
n = lib.strings.toIntBase 16 (builtins.substring 0 8 hash);
in
n % 24