49 lines
1.7 KiB
Nix
49 lines
1.7 KiB
Nix
{inputs, ...}: {
|
|
# This one brings our custom packages from the 'pkgs' directory
|
|
# additions = final: prev:
|
|
# (import ../pkgs {pkgs = final;})
|
|
# // {
|
|
# zugferd-service = inputs.zugferd-service.packages.${prev.stdenv.hostPlatform.system}.default;
|
|
# };
|
|
|
|
# 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;};
|
|
vivaldi = prev.vivaldi.override {
|
|
commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
|
};
|
|
# example = prev.example.overrideAttrs (oldAttrs: rec {
|
|
# ...
|
|
# });
|
|
};
|
|
|
|
stable-packages = final: _prev: {
|
|
stable = import inputs.nixpkgs-stable {
|
|
system = final.stdenv.hostPlatform.system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
mkLlmAgentsOverlay = system: _final: _prev:
|
|
removeAttrs (inputs.llm-agents.packages.${system} or {}) [
|
|
# Internal helpers from packages/* marked hideFromDocs upstream:
|
|
"antigravity"
|
|
"auto-claude"
|
|
"buildNpmPackage" # ← the culprit; breaks webcord's `buildNpmPackage.override { nodejs = ...; }`
|
|
"bun2nix"
|
|
"darwinOpenptyHook"
|
|
"default" # fzf launcher; collides with nothing in nixpkgs but kept out for hygiene
|
|
"dolt" # collides with nixpkgs.dolt (Dolt database); not used in this config
|
|
"flake-inputs"
|
|
"forge"
|
|
"formatelf"
|
|
"formatter" # collides conceptually with pkgs.formatter; not used here
|
|
"go-bin"
|
|
"unpinCargoMsrvHook"
|
|
"unpinGoModVersionHook"
|
|
"versionCheckHomeHook"
|
|
"wrapBuddy"
|
|
];
|
|
}
|