Use nixpkgs instead of self to speed up eval

This commit is contained in:
Alexander Bantyev 2021-06-12 12:50:36 +03:00
parent 0c047a852d
commit 6e10d51247
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -1,9 +1,10 @@
{ lib, inputs, ... }: {
nix = rec {
nixPath = lib.mkForce [ "nixpkgs=/etc/self/compat" ];
nixPath = lib.mkForce [ "self=/etc/self/compat" "nixpkgs=/etc/nixpkgs" ];
binaryCaches = [ "https://cache.nixos.org" ];
registry.self.flake = inputs.self;
registry.nixpkgs.flake = inputs.nixpkgs;
trustedUsers = [ "root" "balsoft" "@wheel" ];