2020-03-25 19:52:13 +01:00
|
|
|
{
|
|
|
|
description = "C3D2 NixOS configurations";
|
|
|
|
|
|
|
|
edition = 201909;
|
|
|
|
|
2020-04-15 19:00:56 +02:00
|
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs-channels/nixos-20.03";
|
|
|
|
inputs.hydra.url = "github:ehmry/hydra/sotest";
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, hydra }: {
|
2020-04-14 08:42:13 +02:00
|
|
|
|
2020-04-21 13:44:42 +02:00
|
|
|
nixosConfigurations = {
|
|
|
|
|
|
|
|
server7 = nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [ ./hosts/server7 hydra.nixosModules.hydra ];
|
|
|
|
system = "x86_64-linux";
|
|
|
|
};
|
|
|
|
|
|
|
|
hydra = nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [ ./hosts/hydra/configuration.nix ];
|
|
|
|
system = "x86_64-linux";
|
|
|
|
};
|
|
|
|
|
|
|
|
pulsebert = nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [ ./hosts/pulsebert/configuration.nix ];
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|