add a shim to provide nixosConfigurations from colmena hive

This commit is contained in:
Yureka 2024-07-09 10:49:29 +02:00
parent c0e1d05b3c
commit 7396107bf4

View file

@ -20,7 +20,7 @@
lix.follows = "hydra/nix"; lix.follows = "hydra/nix";
}; };
outputs = { self, nixpkgs, terranix, ... } @ inputs: outputs = { self, nixpkgs, terranix, colmena, ... } @ inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
@ -67,6 +67,8 @@
]; ];
}; };
nixosConfigurations = (colmena.lib.makeHive self.outputs.colmena).nodes;
colmena = { colmena = {
meta.nixpkgs = import nixpkgs { meta.nixpkgs = import nixpkgs {
localSystem = system; localSystem = system;