entities/flake.nix

25 lines
596 B
Nix
Raw Normal View History

2021-11-22 06:40:37 -08:00
{
description = "Fudo Entities";
2024-03-23 21:29:16 -07:00
inputs = { fudo-lib.url = "git+https://fudo.dev/nix/lib.git"; };
2021-11-22 06:40:37 -08:00
2021-12-19 07:23:11 -08:00
outputs = { self, nixpkgs, fudo-lib, ... }: {
2024-06-02 15:42:41 -07:00
nixosModules = rec {
default = entities;
entities = { imports = [ ./module.nix ]; };
};
2021-11-22 06:40:37 -08:00
2024-06-02 15:57:56 -07:00
entities = let
inherit (nixpkgs) lib;
helper-lib = fudo-lib.lib { pkgs = nixpkgs; };
2024-06-02 16:03:22 -07:00
in import ./entities.nix { inherit helper-lib 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;
};
2023-01-22 17:24:26 -08:00
overlays.default = (final: prev: { lib = prev.lib // self.lib; });
2021-11-22 06:40:37 -08:00
};
}