os/lib/default.nix
Benjamin Bädorf 08c6cb6e81
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
feat: add deploy-rs config
2023-10-03 13:50:01 +02:00

17 lines
453 B
Nix

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