infra/default.nix
Jonas Chevalier 37e48b712e
move things around a bit ()
* keep ./services for instances

./profiles is for config-only modules

./services are like profiles, but configure a single instance of a
service. Those are fronted by Nginx as the load-balancer and have a DNS
entry as well.

* ci: build build03 as well

* move hydra to services

* move matterbridge to services

* move marvin-mk2 to services

* build01: share the remainder profiles

* build02: use the nix-community-cache

* fixup kexec

* rename profiles to roles

* README: sync with reality
2021-03-07 16:28:44 +00:00

18 lines
618 B
Nix

# Add derivations to be built from the cache to this file
{ system ? builtins.currentSystem }:
let
pkgs = import ./nix { inherit system; };
importNixOS = configuration: system:
(import "${toString pkgs.path}/nixos") {
inherit configuration system;
};
in
pkgs.nix-community-infra // rec {
build01 = importNixOS ./build01/configuration.nix "x86_64-linux";
build01-system = build01.system;
build02 = importNixOS ./build02/configuration.nix "x86_64-linux";
build02-system = build02.system;
build03 = importNixOS ./build02/configuration.nix "x86_64-linux";
build03-system = build03.system;
}