35 lines
685 B
Nix
35 lines
685 B
Nix
{
|
|
|
|
description = "Deployment for skynet";
|
|
|
|
inputs = {
|
|
# gonna start off with a fairly modern base
|
|
nixpkgs.url = "nixpkgs/nixos-22.11";
|
|
|
|
# utility stuff
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
agenix.url = "github:ryantm/agenix";
|
|
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }: {
|
|
# https://github.com/zhaofengli/colmena
|
|
colmena = {
|
|
meta = {
|
|
nixpkgs = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
overlays = [];
|
|
};
|
|
};
|
|
|
|
# installed for each machine
|
|
defaults = import ./machines/base.nix;
|
|
|
|
test01 = import ./machines/test01.nix;
|
|
|
|
test02 = import ./machines/test02.nix;
|
|
|
|
};
|
|
};
|
|
|
|
}
|