feat(hive): Make code more compact
All checks were successful
lint / check (push) Successful in 30s
build configuration / build_vault01 (push) Successful in 57s
build configuration / build_web02 (push) Successful in 58s
build configuration / build_compute01 (push) Successful in 1m9s
build configuration / build_storage01 (push) Successful in 1m19s
build configuration / build_web01 (push) Successful in 1m26s
All checks were successful
lint / check (push) Successful in 30s
build configuration / build_vault01 (push) Successful in 57s
build configuration / build_web02 (push) Successful in 58s
build configuration / build_compute01 (push) Successful in 1m9s
build configuration / build_storage01 (push) Successful in 1m19s
build configuration / build_web01 (push) Successful in 1m26s
This commit is contained in:
parent
6b827e56b1
commit
817c723135
1 changed files with 6 additions and 10 deletions
10
hive.nix
10
hive.nix
|
@ -44,14 +44,10 @@ let
|
||||||
###
|
###
|
||||||
# Function to create arguments based on the node
|
# Function to create arguments based on the node
|
||||||
#
|
#
|
||||||
mkArgs =
|
mkArgs = node: {
|
||||||
node:
|
|
||||||
let
|
|
||||||
lib' = (mkNixpkgs' node).lib;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
lib = import sources.nix-lib {
|
lib = import sources.nix-lib {
|
||||||
lib = lib';
|
inherit (mkNixpkgs' node) lib;
|
||||||
|
|
||||||
keysRoot = ./keys;
|
keysRoot = ./keys;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue