home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

overlays.nix (279B)


      1 self: super:
      2 with super.lib;
      3 let
      4   # Load the system config and get the `nixpkgs.overlays` option
      5   overlays = (import <nixpkgs/nixos> { }).config.nixpkgs.overlays;
      6 in
      7 # Apply all overlays to the input of the current "main" overlay
      8 foldl' (flip extends) (_: super) overlays self