19 lines
584 B
Nix
Raw Normal View History

2021-11-18 11:49:04 -08:00
{
description = "Definition of the Seattle NixOps network.";
inputs = import ../../common/inputs.nix;
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;
};
}