infra/flake.nix

33 lines
686 B
Nix

{
description = "Bagel cooking infrastructure";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
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";
};
outputs = { nixpkgs, ... } @ inputs: {
colmena = {
meta.nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
meta.specialArgs.inputs = inputs;
bagel-box = {
imports = [
inputs.hydra.nixosModules.hydra
./services
./hosts/bagel-box
];
};
};
};
}