nix/overlays/default.nix
2025-10-20 20:16:04 -05:00

22 lines
412 B
Nix

{
inputs,
...
}:
_: prev: {
# include nixpkgs stable
stable = import inputs.nixpkgs-stable {
inherit (prev.pkgs) system;
config.allowUnfree = true;
};
# include custom packages
custom =
(prev.custom or { })
// (import ../packages {
inherit (prev) pkgs;
inherit inputs;
});
# use nixfmt-rfc-style as the default
nixfmt = prev.nixfmt or prev.nixfmt-rfc-style;
}