2020-03-25 19:52:13 +01:00
|
|
|
{
|
|
|
|
description = "C3D2 NixOS configurations";
|
|
|
|
|
2020-06-11 07:50:42 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "hydra/nixpkgs";
|
|
|
|
# nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
# secrets.url = "git+file:///etc/nixos/secrets";
|
|
|
|
};
|
2020-04-15 19:00:56 +02:00
|
|
|
|
|
|
|
outputs = { self, nixpkgs, hydra }: {
|
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-04-21 13:44:42 +02:00
|
|
|
server7 = nixpkgs.lib.nixosSystem {
|
2020-08-04 17:15:07 +02:00
|
|
|
modules = [ ./hosts/server7 hydra.nixosModules.hydra ];
|
2020-04-21 13:44:42 +02:00
|
|
|
system = "x86_64-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
|
|
|
};
|
|
|
|
}
|