33 lines
877 B
Nix
33 lines
877 B
Nix
{inputs, ...}: {
|
|
# This one brings our custom packages from the 'pkgs' directory
|
|
additions = final: prev:
|
|
(import ../pkgs {pkgs = final;})
|
|
// {
|
|
crush = inputs.nix-ai-tools.packages.${prev.system}.crush;
|
|
};
|
|
|
|
# This one contains whatever you want to overlay
|
|
# You can change versions, add patches, set compilation flags, anything really.
|
|
# https://nixos.wiki/wiki/Overlays
|
|
modifications = final: prev: {
|
|
n8n = import ./mods/n8n.nix {inherit prev;};
|
|
|
|
# example = prev.example.overrideAttrs (oldAttrs: rec {
|
|
# ...
|
|
# });
|
|
};
|
|
|
|
stable-packages = final: _prev: {
|
|
stable = import inputs.nixpkgs {
|
|
system = final.system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
unstable-packages = final: _prev: {
|
|
unstable = import inputs.nixpkgs-unstable {
|
|
system = final.system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
}
|