39 lines
882 B
Nix
39 lines
882 B
Nix
{
|
|
description = "C3D2 NixOS configurations";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-20.09";
|
|
# secrets.url = "git+file:///etc/nixos/secrets";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, hydra }: {
|
|
|
|
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;
|
|
|
|
};
|
|
}
|