2020-03-25 19:52:13 +01:00
|
|
|
{
|
|
|
|
description = "C3D2 NixOS configurations";
|
|
|
|
|
2020-06-11 07:50:42 +02:00
|
|
|
inputs = {
|
2020-10-26 16:06:42 +01:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-20.09";
|
2021-02-22 12:17:40 +01:00
|
|
|
secrets = {
|
|
|
|
url = "git+ssh://git@gitea.c3d2.de:2222/c3d2-admins/secrets.git";
|
|
|
|
flake = false;
|
|
|
|
};
|
2020-06-11 07:50:42 +02:00
|
|
|
};
|
2020-04-15 19:00:56 +02:00
|
|
|
|
2021-02-22 12:17:40 +01:00
|
|
|
outputs = { self, nixpkgs, secrets }: {
|
2020-04-14 08:42:13 +02:00
|
|
|
|
2020-04-21 13:44:42 +02:00
|
|
|
nixosConfigurations = {
|
|
|
|
|
2020-08-04 17:15:07 +02:00
|
|
|
glotzbert = nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [ ./hosts/glotzbert/configuration.nix ];
|
|
|
|
system = "x86_64-linux";
|
|
|
|
};
|
|
|
|
|
|
|
|
hydra = nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [ ./hosts/hydra/configuration.nix ];
|
|
|
|
system = "x86_64-linux";
|
|
|
|
};
|
|
|
|
|
|
|
|
kibana = nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [ ./hosts/containers/kibana/configuration.nix ];
|
|
|
|
system = "x86_64-linux";
|
|
|
|
};
|
|
|
|
|
|
|
|
pulsebert = nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [ ./hosts/pulsebert/configuration.nix ];
|
|
|
|
system = "aarch64-linux";
|
|
|
|
};
|
|
|
|
|
2020-03-25 19:52:13 +01:00
|
|
|
};
|
2020-04-14 08:42:13 +02:00
|
|
|
|
|
|
|
nixosModules.c3d2 = import ./lib;
|
|
|
|
|
2020-03-25 19:52:13 +01:00
|
|
|
};
|
|
|
|
}
|