lib: init

also added globalArgs

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-01-23 20:37:34 +05:30
parent 969eb05a7a
commit 7ed47be803
6 changed files with 63 additions and 11 deletions

14
lib/default.nix Normal file
View File

@@ -0,0 +1,14 @@
{ inputs, self, ... }:
{
imports = [
{
config._module.args.globalArgs = {
_module.args = {
inherit inputs self;
flake = self;
colors = import ./colors.nix;
};
};
}
];
}