nixos/flake.nix

43 lines
831 B
Nix
Raw Normal View History

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";
};
outputs = { self, nixpkgs, agenix, ... }: {
2023-01-15 17:45:21 +00:00
# https://github.com/zhaofengli/colmena
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
2023-01-15 22:20:55 +00:00
overlays = [];
2023-01-15 17:45:21 +00:00
};
};
2023-01-15 17:45:21 +00:00
# installed for each machine
2023-01-15 22:20:55 +00:00
defaults = {
imports = [
./machines/_base.nix
# for the secrets
agenix.nixosModule
];
};
2023-01-13 00:33:28 +00:00
# firewall machiene
agentjones = import ./machines/agentjones.nix;
#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
};
}