infra/lib/default.nix
teutat3s 2ca0bd7c3e
All checks were successful
Flake checks / Check (pull_request) Successful in 2m36s
style: run treefmt
2024-05-08 22:57:07 +02:00

25 lines
494 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; };
};
};
}