diff --git a/hive.nix b/hive.nix index 6991c61..f2f2490 100644 --- a/hive.nix +++ b/hive.nix @@ -51,12 +51,7 @@ in }; defaults = - { - pkgs, - meta, - name, - ... - }: + { meta, name, ... }: { # Import the default modules imports = [ ./modules ]; @@ -68,7 +63,7 @@ in inherit (meta.nodes.${name}) deployment; # Set NIX_PATH to the patched version of nixpkgs - nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; + nix.nixPath = [ "nixpkgs=${mkNixpkgs name}" ]; nix.optimise.automatic = true; # Allow unfree packages