fix(deploy): resolve colmena issues
This commit is contained in:
@@ -22,15 +22,16 @@ let
|
|||||||
hostname: mkNode hostname (utils.hostMeta ../hosts/${hostname}).deployment.tags
|
hostname: mkNode hostname (utils.hostMeta ../hosts/${hostname}).deployment.tags
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
inputs.colmena.lib.makeHive {
|
inputs.colmena.lib.makeHive (
|
||||||
meta = {
|
{
|
||||||
nixpkgs = import inputs.nixpkgs {
|
meta = {
|
||||||
localSystem = "x86_64-linux";
|
nixpkgs = import inputs.nixpkgs {
|
||||||
|
localSystem = "x86_64-linux";
|
||||||
|
};
|
||||||
|
|
||||||
|
nodeNixpkgs = builtins.mapAttrs (_: v: v.pkgs) self.nixosConfigurations;
|
||||||
|
nodeSpecialArgs = builtins.mapAttrs (_: v: v._module.specialArgs or { }) self.nixosConfigurations;
|
||||||
};
|
};
|
||||||
|
}
|
||||||
nodeNixpkgs = builtins.mapAttrs (_: v: v.pkgs) self.nixosConfigurations;
|
// nodes
|
||||||
nodeSpecialArgs = builtins.mapAttrs (_: v: v._module.specialArgs or { }) self.nixosConfigurations;
|
)
|
||||||
};
|
|
||||||
|
|
||||||
inherit nodes;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user