mirror of
https://gitlab.com/TECHNOFAB/nixible.git
synced 2025-12-12 18:20:09 +01:00
chore: initial commit
This commit is contained in:
commit
7602719790
24 changed files with 1916 additions and 0 deletions
20
lib/default.nix
Normal file
20
lib/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
pkgs,
|
||||
lib ? pkgs.lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) evalModules;
|
||||
in rec {
|
||||
module = ./module.nix;
|
||||
|
||||
mkNixible = config:
|
||||
evalModules {
|
||||
specialArgs = {inherit pkgs;};
|
||||
modules = [
|
||||
module
|
||||
config
|
||||
];
|
||||
};
|
||||
|
||||
mkNixibleCli = config: (mkNixible config).config.cli;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue