20 lines
509 B
Nix
20 lines
509 B
Nix
{
|
|
description = "Fudo Entities";
|
|
|
|
inputs = { fudo-lib.url = "git+https://git.fudo.org/fudo-nix/lib.git"; };
|
|
|
|
outputs = { self, nixpkgs, fudo-lib, ... }: {
|
|
nixosModule = { imports = [ ./module.nix ]; };
|
|
|
|
entities = let helper-lib = fudo-lib.lib { pkgs = nixpkgs; };
|
|
in import ./entities.nix { inherit helper-lib; };
|
|
|
|
lib = import ./lib.nix {
|
|
inherit (nixpkgs) lib;
|
|
inherit (self) entities;
|
|
};
|
|
|
|
overlays.default = (final: prev: { lib = prev.lib // self.lib; });
|
|
};
|
|
}
|