From 2fc312dd47304877fc8496e8e33e0f98fdf543b7 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 23 Jun 2022 19:03:58 +0200 Subject: [PATCH] flake: Use overlays.default for default overlay The `overlay` output is deprecated. --- flake.nix | 2 +- modules/nix.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 0ca5152..11d69b2 100644 --- a/flake.nix +++ b/flake.nix @@ -156,7 +156,7 @@ '' + self.checks.${system}.pre-commit-check.shellHook; }; }) // { - overlay = import ./pkgs; + overlays.default = import ./pkgs; nixosConfigurations = nixpkgs.lib.mapAttrs (hostname: { system diff --git a/modules/nix.nix b/modules/nix.nix index 2303541..83db39f 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -52,7 +52,7 @@ in }; nixpkgs.overlays = with inputs; [ - self.overlay + self.overlays.default nixpkgs-overlay.overlay (final: prev: { unstable = import nixpkgs-unstable {