refactor(hakurei): add kyuuto

This commit is contained in:
arcnmx 2024-02-09 15:36:08 -08:00
parent 8335b8f3a0
commit 6814747c40
15 changed files with 158 additions and 13 deletions

View file

@ -28,11 +28,14 @@
in
nibble0 + (fixedWidthString 1 "0" (toHexStringLower nibble1));
in "${part0 (part 0)}${part 1}:${part 2}ff:fe${part 3}:${part 4}${part 5}";
userIs = group: user: builtins.elem group (user.extraGroups ++ [ user.group ]);
in {
inherit tree nixlib inputs;
std = inputs.self.lib.Std.Std.compat;
Std = inputs.std-fl.lib;
lib = {
inherit eui64 toHexStringLower hexCharToInt;
inherit userIs eui64 toHexStringLower hexCharToInt;
};
generate = import ./generate.nix { inherit inputs tree; };
}