diff options
| author | Kj Tsanaktsidis <kjtsanaktsidis@groq.com> | 2026-01-09 17:02:14 +1100 |
|---|---|---|
| committer | Kj Tsanaktsidis <kjtsanaktsidis@groq.com> | 2026-01-09 17:06:16 +1100 |
| commit | 43bf226ea2a9e09d7221e7474473c4d8c4f2a29b (patch) | |
| tree | 477789d21002a88c4e26289a5ef9aa80f8608c71 /flake.nix | |
| parent | 497ef0c70d4cfb72dc4c8e978a99d5b08fbad2e4 (diff) | |
add colmena
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 ]; }; |
