mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
refactor(hakurei): add kyuuto
This commit is contained in:
parent
8335b8f3a0
commit
6814747c40
15 changed files with 158 additions and 13 deletions
5
lib.nix
5
lib.nix
|
|
@ -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; };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue