2024-06-23 04:41:53 +00:00
|
|
|
{
|
|
|
|
description = "Bagel cooking infrastructure";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
|
2024-06-24 16:03:07 +00:00
|
|
|
agenix.url = "github:ryantm/agenix";
|
|
|
|
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
2024-06-23 04:41:53 +00:00
|
|
|
colmena.url = "github:zhaofengli/colmena";
|
|
|
|
colmena.inputs.nixpkgs.follows = "nixpkgs";
|
2024-06-24 14:45:59 +00:00
|
|
|
|
|
|
|
hydra.url = "git+https://git.lix.systems/lix-project/hydra.git";
|
|
|
|
hydra.inputs.nixpkgs.follows = "nixpkgs";
|
2024-06-24 18:59:37 +00:00
|
|
|
|
|
|
|
lix.follows = "hydra/nix";
|
2024-06-23 04:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { nixpkgs, ... } @ inputs: {
|
|
|
|
colmena = {
|
|
|
|
meta.nixpkgs = import nixpkgs {
|
|
|
|
system = "x86_64-linux";
|
2024-06-24 18:59:37 +00:00
|
|
|
overlays = [
|
|
|
|
inputs.hydra.overlays.default
|
|
|
|
inputs.lix.overlays.default
|
|
|
|
];
|
2024-06-23 04:41:53 +00:00
|
|
|
};
|
2024-06-24 14:45:59 +00:00
|
|
|
meta.specialArgs.inputs = inputs;
|
|
|
|
|
2024-06-23 04:41:53 +00:00
|
|
|
bagel-box = {
|
2024-06-24 14:45:59 +00:00
|
|
|
imports = [
|
2024-06-24 16:03:07 +00:00
|
|
|
inputs.agenix.nixosModules.default
|
2024-06-24 14:45:59 +00:00
|
|
|
inputs.hydra.nixosModules.hydra
|
|
|
|
|
|
|
|
./services
|
|
|
|
|
|
|
|
./hosts/bagel-box
|
|
|
|
];
|
2024-06-23 04:41:53 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|