os/lib/default.nix
Hendrik Sokolowski 81d7598bd7
All checks were successful
continuous-integration/drone/push Build is passing
add lib
2023-11-11 01:06:53 +01:00

18 lines
416 B
Nix

{ lib, inputs, ... }:
{
flake = {
pub-solar-os.lib = let
callLibs = file: import file {inherit lib;};
in rec {
## Define your own library functions here!
#id = x: x;
## Or in files, containing functions that take {lib}
#foo = callLibs ./foo.nix;
## In configs, they can be used under "lib.our"
deploy = import ./deploy.nix { inherit inputs lib; };
};
};
}