2023-01-12 21:10:17 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
description = "Deployment for skynet";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
# gonna start off with a fairly modern base
|
2023-01-12 21:35:12 +00:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-22.11";
|
2023-01-12 21:10:17 +00:00
|
|
|
|
|
|
|
# utility stuff
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
agenix.url = "github:ryantm/agenix";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2023-01-15 17:45:21 +00:00
|
|
|
outputs = { self, nixpkgs, ... }: {
|
|
|
|
# https://github.com/zhaofengli/colmena
|
|
|
|
colmena = {
|
|
|
|
meta = {
|
|
|
|
nixpkgs = import nixpkgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
overlays = [];
|
|
|
|
};
|
|
|
|
};
|
2023-01-12 23:58:35 +00:00
|
|
|
|
2023-01-15 17:45:21 +00:00
|
|
|
# installed for each machine
|
|
|
|
defaults = import ./machines/base.nix;
|
2023-01-13 00:33:28 +00:00
|
|
|
|
2023-01-15 17:45:21 +00:00
|
|
|
test01 = import ./machines/test01.nix;
|
2023-01-13 00:14:44 +00:00
|
|
|
|
2023-01-15 17:45:21 +00:00
|
|
|
test02 = import ./machines/test02.nix;
|
2023-01-15 15:10:40 +00:00
|
|
|
|
2023-01-15 17:45:21 +00:00
|
|
|
};
|
2023-01-12 21:10:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|