summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorKj Tsanaktsidis <kjtsanaktsidis@groq.com>2026-01-09 17:02:14 +1100
committerKj Tsanaktsidis <kjtsanaktsidis@groq.com>2026-01-09 17:06:16 +1100
commit43bf226ea2a9e09d7221e7474473c4d8c4f2a29b (patch)
tree477789d21002a88c4e26289a5ef9aa80f8608c71 /flake.nix
parent497ef0c70d4cfb72dc4c8e978a99d5b08fbad2e4 (diff)
add colmena
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index cb8cc86..af40da0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -15,8 +15,9 @@
inputs.lanzaboote.url = "github:nix-community/lanzaboote/v1.0.0";
inputs.lanzaboote.inputs.nixpkgs.follows = "nixpkgs-stable";
inputs.determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
+ inputs.colmena.url = "github:zhaofengli/colmena";
- outputs = { self, nixpkgs-stable, nixos-anywhere, lanzaboote, ... }@inputs:
+ outputs = { self, nixpkgs-stable, nixos-anywhere, lanzaboote, colmena, ... }@inputs:
let
nixpkgs = nixpkgs-stable;
systems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
@@ -31,6 +32,13 @@
];
};
+ colmenaHive = colmena.lib.makeHive {
+ meta.nixpkgs = nixpkgs;
+ labsrv01 = {
+ nixosConfiguration = self.nixosConfigurations.labsrv01;
+ };
+ };
+
packages = forAllSystems (system:
let
pkgs = nixpkgs.legacyPackages.${system};
@@ -65,6 +73,7 @@
pkgs.ruby
pkgs.age
pkgs.mkpasswd
+ inputs.colmena.packages.${system}.colmena
self.packages.${system}.nixos-update
];
};