mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2025-12-12 06:10:06 +01:00
chore: initial commit
This commit is contained in:
commit
25cc087b1d
17 changed files with 741 additions and 0 deletions
25
lib/default.nix
Normal file
25
lib/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
pkgs,
|
||||
lib ? pkgs.lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) evalModules;
|
||||
|
||||
soonix_lib = import ./lib.nix {inherit pkgs lib;};
|
||||
in rec {
|
||||
inherit (soonix_lib) engines buildAllFiles;
|
||||
|
||||
module = ./module.nix;
|
||||
devshellModule = ./devshellModule.nix;
|
||||
|
||||
make = userConfig:
|
||||
evalModules {
|
||||
specialArgs = {inherit pkgs;};
|
||||
modules = [
|
||||
module
|
||||
userConfig
|
||||
];
|
||||
};
|
||||
|
||||
mkShellHook = userConfig: (make userConfig).config.shellHook;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue