2025-10-04 15:53:48 +02:00
|
|
|
{inputs, ...}: {
|
|
|
|
|
# This one brings our custom packages from the 'pkgs' directory
|
2026-04-18 10:05:59 +00:00
|
|
|
additions = final: prev: (import ../pkgs {pkgs = final;});
|
2025-10-04 15:53:48 +02:00
|
|
|
|
|
|
|
|
# This one contains whatever you want to overlay
|
|
|
|
|
# You can change versions, add patches, set compilation flags, anything really.
|
|
|
|
|
# https://nixos.wiki/wiki/Overlays
|
2026-01-04 04:03:11 +01:00
|
|
|
modifications = final: prev:
|
|
|
|
|
# Import all package modifications from mods directory
|
|
|
|
|
(import ./mods/default.nix {inherit prev;})
|
|
|
|
|
// {
|
|
|
|
|
# Direct configuration overrides
|
|
|
|
|
brave = prev.brave.override {
|
|
|
|
|
commandLineArgs = "--password-store=gnome-libsecret";
|
|
|
|
|
};
|
2025-10-04 15:53:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
master-packages = final: _prev: {
|
|
|
|
|
master = import inputs.nixpkgs-master {
|
2026-03-28 10:08:36 +01:00
|
|
|
system = final.stdenv.hostPlatform.system;
|
2025-10-04 15:53:48 +02:00
|
|
|
config.allowUnfree = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|