mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-18 17:09:37 +00:00
tree-wide: set nixpkgs in NIX_PATH without flake
This prevents double fetch
This commit is contained in:
parent
076a4448e7
commit
18418415d1
3 changed files with 9 additions and 12 deletions
|
|
@ -31,6 +31,9 @@ in
|
|||
# nixpkgs
|
||||
#
|
||||
{
|
||||
# don't use `nixpkgs.flake.source`, it uses flake so it double fetches
|
||||
nix.nixPath = [ "nixpkgs=${sources.nixpkgs}" ];
|
||||
|
||||
nixpkgs = {
|
||||
overlays = map import [
|
||||
../packages/overlay.nix
|
||||
|
|
@ -39,10 +42,6 @@ in
|
|||
../overlays/lix.nix
|
||||
../overlays/nix-monitored.nix
|
||||
];
|
||||
|
||||
# Set NIX_PATH and flake registry at the same time
|
||||
# https://github.com/NixOS/nixpkgs/pull/254405
|
||||
flake.source = sources.nixpkgs;
|
||||
};
|
||||
|
||||
nix.package = pkgs.nix-monitored;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue