diff --git a/flake.nix b/flake.nix index c2620ff..7c10fbe 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,16 @@ description = "Fudo Nix Helper Functions"; outputs = { self, ... }: { - overlay = import ./overlay.nix; + overlays = rec { + default = lib; + lib = import ./overlay.nix; + }; - nixosModule = import ./module.nix; + nixosModules = rec { + default = fudo; + fudo = import ./module.nix; + lib = { ... }: { config.nixpkgs.overlays = [ self.overlays.default ]; }; + }; lib = import ./lib.nix; };