From 7396107bf48c64724341ab22147e4071f6a1e8a9 Mon Sep 17 00:00:00 2001 From: Yureka Date: Tue, 9 Jul 2024 10:49:29 +0200 Subject: [PATCH] add a shim to provide nixosConfigurations from colmena hive --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 7086851..9ab2980 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,7 @@ lix.follows = "hydra/nix"; }; - outputs = { self, nixpkgs, terranix, ... } @ inputs: + outputs = { self, nixpkgs, terranix, colmena, ... } @ inputs: let system = "x86_64-linux"; pkgs = import nixpkgs { @@ -67,6 +67,8 @@ ]; }; + nixosConfigurations = (colmena.lib.makeHive self.outputs.colmena).nodes; + colmena = { meta.nixpkgs = import nixpkgs { localSystem = system;