2021-11-18 11:49:04 -08:00
|
|
|
{
|
|
|
|
description = "Definition of the Seattle NixOps network.";
|
|
|
|
|
2021-11-18 11:52:14 -08:00
|
|
|
inputs = import ../../common/inputs.nix {
|
|
|
|
nixos-version = "21.05";
|
|
|
|
};
|
2021-11-18 11:49:04 -08:00
|
|
|
|
|
|
|
outputs = { self, nixpkgs, fudo-nixos, ... } @ inputs:
|
|
|
|
import ../../common/deployment.nix {
|
|
|
|
description = "Seattle NixOps network";
|
|
|
|
hostnames = with nixpkgs.lib; let
|
|
|
|
domain = "sea.fudo.org";
|
|
|
|
deployment-hosts = filterAttrs
|
|
|
|
(hostname: hostOpts: hostOpts.domain == domain)
|
|
|
|
fudo-nixos.fudoHosts;
|
|
|
|
in mapAttrsToList
|
|
|
|
(hostname: hostOpts: fudo-nixos.nixosConfigurations.${hostname})
|
|
|
|
deployment-hosts;
|
|
|
|
};
|
|
|
|
}
|