nix: Update global nixpkgs definition

Nixpkgs 24.05 now sets a registry entry and NIX_PATH by default.
This commit is contained in:
Simon Bruder 2024-06-02 11:48:20 +02:00
parent 0a7c9bd35e
commit 360f7de65d
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2020-2023 Simon Bruder <simon@sbruder.de>
# SPDX-FileCopyrightText: 2020-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
@ -25,14 +25,15 @@ let
in
{
nix = {
channel.enable = false;
registry = with inputs; {
nixpkgs.flake = nixpkgs;
nixpkgs-unstable.flake = nixpkgs-unstable;
};
nixPath = [
"nixpkgs=${inputs.nixpkgs}"
"nixpkgs-overlays=${overlaysCompat}"
"nixpkgs-unstable=flake:nixpkgs-unstable"
];
settings = {