42 lines
947 B
Nix
42 lines
947 B
Nix
{
|
|
description = "C3D2 NixOS configurations";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-20.09";
|
|
secrets = {
|
|
url = "git+ssh://git@gitea.c3d2.de:2222/c3d2-admins/secrets.git";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, secrets }: {
|
|
|
|
nixosConfigurations = {
|
|
|
|
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";
|
|
};
|
|
|
|
};
|
|
|
|
nixosModules.c3d2 = import ./lib;
|
|
|
|
};
|
|
}
|