os/lib/default.nix
Benjamin Bädorf b967655d2b
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
fix: Fix nix flake check and devshell
2023-10-03 14:21:09 +02:00

17 lines
456 B
Nix

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