forked from the-distro/infra
raito
98a33e4300
With: - A package hierarchy - A source-based Gerrit deployment Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
65 lines
1.4 KiB
Nix
65 lines
1.4 KiB
Nix
{
|
|
description = "Bagel cooking infrastructure";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
agenix.url = "github:ryantm/agenix";
|
|
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
colmena.url = "github:zhaofengli/colmena";
|
|
colmena.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
hydra.url = "git+https://git.lix.systems/lix-project/hydra.git";
|
|
hydra.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
lix.follows = "hydra/nix";
|
|
};
|
|
|
|
outputs = { nixpkgs, ... } @ inputs: {
|
|
colmena = {
|
|
meta.nixpkgs = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
overlays = [
|
|
inputs.hydra.overlays.default
|
|
inputs.lix.overlays.default
|
|
];
|
|
};
|
|
meta.specialArgs.inputs = inputs;
|
|
|
|
bagel-box = {
|
|
imports = [
|
|
inputs.agenix.nixosModules.default
|
|
inputs.hydra.nixosModules.hydra
|
|
|
|
./services
|
|
|
|
./hosts/bagel-box
|
|
];
|
|
};
|
|
|
|
meta01 = {
|
|
imports = [
|
|
inputs.agenix.nixosModules.default
|
|
inputs.hydra.nixosModules.hydra
|
|
|
|
./services
|
|
./common
|
|
./hosts/meta01.nixpkgs.lahfa.xyz
|
|
];
|
|
};
|
|
|
|
gerrit01 = {
|
|
imports = [
|
|
inputs.agenix.nixosModules.default
|
|
inputs.hydra.nixosModules.hydra
|
|
|
|
./services
|
|
./common
|
|
./hosts/cl.nixpkgs.lahfa.xyz
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|