entities/flake.nix

20 lines
511 B
Nix
Raw Normal View History

2021-11-22 06:40:37 -08:00
{
description = "Fudo Entities";
2023-01-17 13:30:45 -08:00
inputs = { fudo-lib.url = "git+https://git.fudo.org/fudo-nix/lib.git"; };
2021-11-22 06:40:37 -08:00
2021-12-19 07:23:11 -08:00
outputs = { self, nixpkgs, fudo-lib, ... }: {
2023-01-17 13:30:45 -08:00
nixosModule = { imports = [ ./module.nix ]; };
2021-11-22 06:40:37 -08:00
2023-01-17 13:30:45 -08:00
entities = let helper-lib = fudo-lib.lib { pkgs = nixpkgs; };
2021-11-22 07:26:09 -08:00
in import ./entities.nix { inherit helper-lib; };
2023-01-17 13:30:45 -08:00
2023-01-17 13:40:23 -08:00
lib = import ./lib.nix {
2023-01-17 13:30:45 -08:00
inherit (nixpkgs) lib;
inherit (self) entities;
};
overlays.default = (final: prev: { lib = prev.lib // (self.lib); });
2021-11-22 06:40:37 -08:00
};
}