flake: Use overlays.default for default overlay

The `overlay` output is deprecated.
This commit is contained in:
Simon Bruder 2022-06-23 19:03:58 +02:00
parent 22d8373376
commit 2fc312dd47
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,7 @@
'' + self.checks.${system}.pre-commit-check.shellHook; '' + self.checks.${system}.pre-commit-check.shellHook;
}; };
}) // { }) // {
overlay = import ./pkgs; overlays.default = import ./pkgs;
nixosConfigurations = nixpkgs.lib.mapAttrs nixosConfigurations = nixpkgs.lib.mapAttrs
(hostname: { system (hostname: { system

View file

@ -52,7 +52,7 @@ in
}; };
nixpkgs.overlays = with inputs; [ nixpkgs.overlays = with inputs; [
self.overlay self.overlays.default
nixpkgs-overlay.overlay nixpkgs-overlay.overlay
(final: prev: { (final: prev: {
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {