infra/lib/default.nix
Benjamin Yule Bädorf ec01fe5eea
Some checks failed
Flake checks / Check (pull_request) Failing after 3m23s
test: add initial e2e test for nachtigall
2024-08-25 12:34:07 +02:00

24 lines
488 B
Nix

{
self,
lib,
inputs,
...
}:
{
# Configuration common to all Linux systems
flake = {
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; };
};
};
}