nix/overlays/default.nix
2026-02-21 20:49:31 -06:00

20 lines
512 B
Nix

# https://nixos.wiki/wiki/Overlays
{ inputs, ... }:
{
additions = final: _prev: import ../pkgs final.pkgs;
modifications = final: prev: {
# example = prev.example.overrideAttrs (oldAttrs: rec {
# ...
# });
};
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
stable-packages = final: _prev: {
nixos-stable = import inputs.nixpkgs-stable {
system = final.system;
config.allowUnfree = true;
};
};
}