diff --git a/hive.nix b/hive.nix index 03e7843..98baaca 100644 --- a/hive.nix +++ b/hive.nix @@ -193,7 +193,9 @@ in nix = { # Set NIX_PATH to the patched version of nixpkgs - nixPath = [ "nixpkgs=${builtins.storePath sourcePkgs.path}" ]; + environment.etc.nixpkgs.source = builtins.storePath sourcePkgs.path; + nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ]; + optimise.automatic = true; gc = {