forked from DGNum/infrastructure
feat(hive.nix): Directly use the source of the patched nixpkgs
This commit is contained in:
parent
82cafb5fd7
commit
9767dc35a0
1 changed files with 2 additions and 7 deletions
9
hive.nix
9
hive.nix
|
@ -51,12 +51,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
defaults =
|
defaults =
|
||||||
{
|
{ meta, name, ... }:
|
||||||
pkgs,
|
|
||||||
meta,
|
|
||||||
name,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
# Import the default modules
|
# Import the default modules
|
||||||
imports = [ ./modules ];
|
imports = [ ./modules ];
|
||||||
|
@ -68,7 +63,7 @@ in
|
||||||
inherit (meta.nodes.${name}) deployment;
|
inherit (meta.nodes.${name}) deployment;
|
||||||
|
|
||||||
# Set NIX_PATH to the patched version of nixpkgs
|
# Set NIX_PATH to the patched version of nixpkgs
|
||||||
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
|
nix.nixPath = [ "nixpkgs=${mkNixpkgs name}" ];
|
||||||
nix.optimise.automatic = true;
|
nix.optimise.automatic = true;
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
|
|
Loading…
Reference in a new issue