Add extra function for lib, and refactor with loadImports

This commit is contained in:
ulic-youthlic 2025-07-11 21:04:42 +08:00
parent 317a2b4a28
commit 2c997cddce
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
28 changed files with 111 additions and 204 deletions

View file

@ -2,9 +2,9 @@
lib,
inputs,
self,
rootPath,
...
}: let
rootPath = ./..;
inherit (self) outputs;
homeModules =
(
@ -46,6 +46,11 @@
])
++ [
homeModules."${unixName}"
]
++ [
{
lib = {inherit (lib) youthlic;};
}
];
extraSpecialArgs = {
inherit