Make a module to supply overlay

This commit is contained in:
niten 2023-11-17 09:34:09 -08:00
parent d4044d886a
commit 04263beb7f
1 changed files with 9 additions and 2 deletions

View File

@ -2,9 +2,16 @@
description = "Fudo Nix Helper Functions"; description = "Fudo Nix Helper Functions";
outputs = { self, ... }: { 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; lib = import ./lib.nix;
}; };