Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 485 Bytes

File metadata and controls

16 lines (13 loc) · 485 Bytes

Overlays

Plain overlay files in this directory are imported automatically by overlay/default.nix. Add a new *.nix file that returns a normal Nixpkgs overlay:

final: prev: {
  package-name = prev.package-name.overrideAttrs (old: {
    # patch, wrap, or replace while keeping the package name stable
  });
}

Parameterized overlays stay explicit. For example, codium.nix needs the active theme, so theme/module.nix imports it directly after the theme is resolved.